From 1fbf9ca51a0b21ac84fa0ef54bfc631d4fd75820 Mon Sep 17 00:00:00 2001 From: tchawou-daniel Date: Sun, 17 Jan 2021 20:12:17 +0100 Subject: [PATCH] :wrench: update Procfile and settings files --- Procfile | 2 +- conduit/settings.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 60df632..48742c7 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 8d049d7..c0315c0 100644 --- a/conduit/settings.py +++ b/conduit/settings.py @@ -25,6 +25,8 @@ class Config(object): 'http://localhost:4200', 'http://0.0.0.0:4000', 'http://localhost:4000', + 'http://0.0.0.0:8080', + 'https://0.0.0.0:8080', 'https://2020devopsfinalfront.netlify.app', ] JWT_HEADER_TYPE = 'Token'