chore: env variable
This commit is contained in:
parent
e8ec46d19f
commit
4fb3bcb8ac
2 changed files with 4 additions and 1 deletions
4
.env
Normal file
4
.env
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
VITE_API_BASE_URL=ENV_API_BASE_URL
|
||||
VITE_KC_URL=ENV_KC_URL
|
||||
VITE_KC_REALM=ENV_KC_REALM
|
||||
VITE_KC_CLIENT_ID=ENV_KC_CLIENT_ID
|
||||
|
|
@ -6,7 +6,6 @@ do
|
|||
sed -i 's|ENV_KC_URL|'${KC_URL}'|g' $file
|
||||
sed -i 's|ENV_KC_REALM|'${KC_REALM}'|g' $file
|
||||
sed -i 's|ENV_KC_CLIENT_ID|'${KC_CLIENT_ID}'|g' $file
|
||||
sed -i 's|ENV_MANAGEMENT_ROLE|'${MANAGEMENT_ROLE}'|g' $file
|
||||
done
|
||||
|
||||
miniserve --spa --index index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue