add app logic

This commit is contained in:
2022-12-17 18:14:23 +03:00
parent 4892594613
commit 522cf5b820

9
app.py
View File

@@ -13,3 +13,12 @@ def create_app():
return app
newapp = create_app()
newapp_ctx =newapp.app_context()
newapp_ctx.push()
with newapp_ctx:
pass
if __name__ == '__main__':
newapp.run(host='0.0.0.0', port='3800', debug=True)