This commit is contained in:
han0
2024-05-29 10:21:31 +08:00
commit 54ac29d27b
119 changed files with 6817 additions and 0 deletions

12
web/core/app.py Normal file
View File

@@ -0,0 +1,12 @@
""" 程序入口"""
from nc_http.tools.reverse_proxied import ReverseProxied
from core import conf
from core.factory import ApiApp
app = ApiApp()
app.wsgi_app = ReverseProxied(app.wsgi_app)
if __name__ == '__main__':
app.run(host='0.0.0.0', port=conf.PORT, debug=conf.DEBUG)