Files
material-api/web/core/app.py
2024-05-29 10:21:31 +08:00

13 lines
283 B
Python

""" 程序入口"""
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)