测试heroku服务器部署

This commit is contained in:
MarkusJoe
2022-02-10 13:13:48 +08:00
parent a7899250ae
commit f9cc23822e
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ def index():
if __name__ == '__main__':
print('服务器已在 http://127.0.0.1:5000 运行')
app.run(host='0.0.0.0', port=5000)
app.run(host='0.0.0.0', port=5000)
# try:
# server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)
# server.serve_forever()