Changed how port if configured to prevent breaking in deployed environment.
This commit is contained in:
parent
67fa43dd8c
commit
a8e4e3e334
@ -189,4 +189,4 @@ def unauthorized():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
db.create_all()
|
db.create_all()
|
||||||
app.run(threaded=True)
|
app.run(threaded=True, port=app.config['PORT'])
|
||||||
|
Loading…
Reference in New Issue
Block a user