diff --git a/Procfile b/Procfile index 60df632..a96c523 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3 +web: flask db upgrade;gunicorn autoapp:app -b 0.0.0.0:$PORT -w 3 diff --git a/conduit/settings.py b/conduit/settings.py index ce05cb8..677dc8d 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,8 +25,6 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', - 'http://0.0.0.0:' + os.environ.get('PORT', '8080'), - 'https://0.0.0.0:' + os.environ.get('PORT', '8080'), 'https://reverent-swanson-5ad65a.netlify.app', os.environ.get('FRONT_PROD_URL', ''), ]