From 8490f4b83d4ad5fe266d284f4849f21e2ab3fc63 Mon Sep 17 00:00:00 2001 From: guidezSeb Date: Sun, 17 Jan 2021 18:00:01 +0100 Subject: [PATCH] update bdd when deploy heroku --- Procfile | 2 +- conduit/settings.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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', ''), ]