diff --git a/deploy-dashboard.sh b/deploy-dashboard.sh index 26c0a13..6b6aa22 100644 --- a/deploy-dashboard.sh +++ b/deploy-dashboard.sh @@ -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| diff --git a/resources/saleor-dashboard/template.env b/resources/saleor-dashboard/template.env index 6612ed1..3f79f99 100644 --- a/resources/saleor-dashboard/template.env +++ b/resources/saleor-dashboard/template.env @@ -1,3 +1,3 @@ API_URI="{api_url}" APP_MOUNT_URI="/{app_mount_uri}/" -STATIC_URL="http://{app_host}/" \ No newline at end of file +STATIC_URL="https://{app_host}/" \ No newline at end of file