Archived
feat: re upload
This commit is contained in:
5 files changed
+39
-13
No files matched your search
@@ -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 端口被占用')
|
||||
|
||||
Reference in New Issue
Block a user