Double-quote to prevent PROD_PORT globbing.

This commit is contained in:
Sage Vaillancourt 2022-10-03 16:40:45 -04:00
parent a407f3228c
commit cd87e4fa29
1 changed files with 1 additions and 1 deletions

2
start
View File

@ -23,7 +23,7 @@ fi
if [[ "$1" == "prod" ]]; then if [[ "$1" == "prod" ]]; then
echo "Starting gunicorn production server..." echo "Starting gunicorn production server..."
gunicorn -b localhost:$PROD_PORT "app:create_app()" gunicorn -b "localhost:$PROD_PORT" "app:create_app()"
else else
echo "Starting local dev server..." echo "Starting local dev server..."
export FLASK_APP=app export FLASK_APP=app