refacto: setup new dispatch

This commit is contained in:
2024-02-16 13:57:16 +01:00
parent df93ee47ab
commit 8cb412c74b
7 changed files with 134 additions and 3 deletions

8
server/app.py Normal file
View File

@@ -0,0 +1,8 @@
import interface as main
import os
import sys
def createApp(envivorment=None, start_response=None):
with main.app.app_context():
main.create_app()
return main.app