From 9bfe9719d92b9eea16d0d14b6791a8c50e65aa0f Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Sat, 6 Sep 2025 19:24:50 -0500 Subject: [PATCH] Testing vpn paths. --- run-api.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run-api.sh b/run-api.sh index 9ddc149..a969a79 100755 --- a/run-api.sh +++ b/run-api.sh @@ -10,10 +10,11 @@ if [ "$env" == "TEST" ]; then npm install; npx pm2 start api.config.cjs --no-daemon --env TEST elif [ "$env" == "PRODUCTION" ]; then echo "PHS API Production Stack" - npm install; - npx babel src --out-dir src --extensions .jsx; - cd /usr/src/app - npx pm2 start api.config.cjs --no-daemon --env PRODUCTION + npm install; npm run start-debug +# npm install; +# npx babel src --out-dir src --extensions .jsx; +# cd /usr/src/app +# npx pm2 start api.config.cjs --no-daemon --env PRODUCTION else echo "PHS API Dev Stack" npm install; npm run start-debug -- 2.43.0