diff --git a/Procfile b/Procfile index 60df632..80c8781 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 8991a49..b8cbe8b 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://projetdevopsfront.netlify.app/', ] JWT_HEADER_TYPE = 'Token'