feat: re upload

This commit is contained in:
MarkusJoe
2022-02-05 18:06:16 +08:00
parent b40f6b40e5
commit 49541b7b8c
5 files changed
+39 -13

No files matched your search

+2 -1
View File
@@ -128,9 +128,10 @@ def index():
if __name__ == '__main__':
# app.run(threaded=True)
print('服务器已在http://127.0.0.1:5000 运行. \n除了请求次数和名称会被保存到本地数据库中其余任何数据都不会被保存')
print('服务器已在http://127.0.0.1:5000 运行')
try:
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)
server.serve_forever()
except OSError:
print('5000 端口被占用')