Browse Source

🔧 update Procfile and settings files

main
tchawou-daniel 6 years ago
parent
commit
1fbf9ca51a
  1. 2
      Procfile
  2. 2
      conduit/settings.py

2
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

2
conduit/settings.py

@ -25,6 +25,8 @@ class Config(object):
'http://localhost:4200', 'http://localhost:4200',
'http://0.0.0.0:4000', 'http://0.0.0.0:4000',
'http://localhost:4000', 'http://localhost:4000',
'http://0.0.0.0:8080',
'https://0.0.0.0:8080',
'https://2020devopsfinalfront.netlify.app', 'https://2020devopsfinalfront.netlify.app',
] ]
JWT_HEADER_TYPE = 'Token' JWT_HEADER_TYPE = 'Token'

Loading…
Cancel
Save