Double-quote to prevent PROD_PORT globbing.
This commit is contained in:
parent
a407f3228c
commit
cd87e4fa29
2
start
2
start
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue