^
This commit is contained in:
parent
ef1dea35ce
commit
9f5a01ec8e
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ fi
|
||||||
sudo -u $UN git clone https://github.com/mirumee/saleor-dashboard.git
|
sudo -u $UN git clone https://github.com/mirumee/saleor-dashboard.git
|
||||||
wait
|
wait
|
||||||
# Build the API URL
|
# Build the API URL
|
||||||
API_URL="http://$HOST/$APIURI/"
|
API_URL="https://$HOST/$APIURI/"
|
||||||
# Write the production .env file from template.env
|
# Write the production .env file from template.env
|
||||||
if [ "$SAME_HOST" = "no" ]; then
|
if [ "$SAME_HOST" = "no" ]; then
|
||||||
sudo sed "s|{api_url}|$API_URL|
|
sudo sed "s|{api_url}|$API_URL|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
API_URI="{api_url}"
|
API_URI="{api_url}"
|
||||||
APP_MOUNT_URI="/{app_mount_uri}/"
|
APP_MOUNT_URI="/{app_mount_uri}/"
|
||||||
STATIC_URL="http://{app_host}/"
|
STATIC_URL="https://{app_host}/"
|
Loading…
Reference in a new issue