test-code-refactor #1
@ -63,4 +63,5 @@ def create_app(config_name="default"):
|
|||||||
# Server start only if we run app directly
|
# Server start only if we run app directly
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = create_app()
|
app = create_app()
|
||||||
app.run(host="0.0.0.0")
|
port = os.getenv("TODOLIST_PORT", "80")
|
||||||
|
app.run(host="0.0.0.0", port=port)
|
||||||
|
Reference in New Issue
Block a user