Also host on :80 in prod

Somewhat forcefully puts users on https.
This commit is contained in:
Sage Vaillancourt 2022-09-25 01:12:32 +00:00
parent d8a4fa9bba
commit 2807c72740
1 changed files with 1 additions and 1 deletions

2
start
View File

@ -15,7 +15,7 @@ fi
if [[ "$1" == "prod" ]]; then
echo "Starting gunicorn production server..."
gunicorn -b 0.0.0.0:443 "undercover:create_app()"
gunicorn -b 0.0.0.0:80 -b 0.0.0.0:443 "undercover:create_app()"
else
echo "Starting local dev server..."
export FLASK_ENV=development