Browse Source

update bdd when deploy heroku

main
guidezSeb 5 years ago
parent
commit
8490f4b83d
  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,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', ''),
]

Loading…
Cancel
Save