moves app initialization to correct file

This commit is contained in:
2025-02-10 17:45:24 +01:00
parent a6292d2d0f
commit 2b6aebdab4
4 changed files with 45 additions and 48 deletions

4
run.py
View File

@@ -1,5 +1,5 @@
from app.app import init_app
from app import create_app
if __name__ == '__main__':
app = init_app()
app = create_app()
app.run(debug=True, threaded=True)