更新一些细节

This commit is contained in:
MarkusJoe
2022-04-02 18:03:25 +08:00
parent 9cf574b8e7
commit 77745e6f01
6 files changed
+44 -31

No files matched your search

+2 -1
View File
@@ -6,12 +6,13 @@
# @File Name: manage.py
from gevent import pywsgi
from app import create_app
app = create_app('default')
if __name__ == '__main__':
from gevent import pywsgi
print('服务运行在 http://127.0.0.1:5000')
try:
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)