From d14bfa758d4ffa7ff96761312d4e3d611ecfcb51 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 6 Jun 2020 19:20:35 +0000 Subject: [PATCH] fix install script --- install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 39026877..2f925c56 100755 --- a/install.sh +++ b/install.sh @@ -590,12 +590,15 @@ sudo certbot certonly --standalone --agree-tos -m ${letsemail} --no-eff-email -d sudo chown -R $USER:$GROUP /home/${USER}/.npm sudo chown -R $USER:$GROUP /home/${USER}/.config -vueconf="$(cat << EOF -VUE_APP_PROD_URL = "https://${rmmdomain}" -VUE_APP_DEV_URL = "http://localhost:8000" +quasarenv="$(cat << EOF +PROD_URL = "https://${rmmdomain}" +DEV_URL = "https://api.example.com" +APP_URL = "https://app.example.com" +DEV_HOST = 0.0.0.0 +DEV_PORT = 80 EOF )" -echo "${vueconf}" | tee /home/${USER}/rmm/web/.env.local > /dev/null +echo "${quasarenv}" | tee /home/${USER}/rmm/web/.env > /dev/null print_green 'Installing the frontend'