From 09f498b47f7cbb9483f1d3b9ff946c333c084059 Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Tue, 9 Feb 2021 20:32:54 -0800 Subject: [PATCH] ^ --- deploy-dashboard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-dashboard.sh b/deploy-dashboard.sh index f4df3fd..b6b93e4 100644 --- a/deploy-dashboard.sh +++ b/deploy-dashboard.sh @@ -90,7 +90,7 @@ echo "Moving static files for the Dashboard..." echo "" if [ "$SAME_HOST" = "no" ]; then # Move static files for the Dashboard - sudo mv $HD/saleor-dashboard/build/* /var/www/$APP_HOST/ + sudo mv $HD/saleor-dashboard/build/$APP_MOUNT_URI /var/www/$APP_HOST/ # Make an empry variable DASHBOARD_LOCATION="" # Clean the saleor server block @@ -105,7 +105,7 @@ if [ "$SAME_HOST" = "no" ]; then sudo ln -s /etc/nginx/sites-available/saleor-dashboard /etc/nginx/sites-enabled/ else # Move static files for the Dashboard - sudo mv $HD/saleor-dashboard/build/* /var/www/$HOST/ + sudo mv $HD/saleor-dashboard/build/$APP_MOUNT_URI /var/www/$HOST/ # Populate the DASHBOARD_LOCATION variable DASHBOARD_LOCATION=$(<$HD/Deploy_Saleor/resources/saleor-dashboard/dashboard-location) # Modify the new server block