This commit is contained in:
Vague Rabbit 2021-02-09 21:18:08 -08:00
parent ef1dea35ce
commit 9f5a01ec8e
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ fi
sudo -u $UN git clone https://github.com/mirumee/saleor-dashboard.git
wait
# Build the API URL
API_URL="http://$HOST/$APIURI/"
API_URL="https://$HOST/$APIURI/"
# Write the production .env file from template.env
if [ "$SAME_HOST" = "no" ]; then
sudo sed "s|{api_url}|$API_URL|

View file

@ -1,3 +1,3 @@
API_URI="{api_url}"
APP_MOUNT_URI="/{app_mount_uri}/"
STATIC_URL="http://{app_host}/"
STATIC_URL="https://{app_host}/"