From 0752eef3b39365ccccd2477d0c332d26a2f9a2f2 Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Thu, 10 Feb 2022 13:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95heroku=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 674228c..157eb95 100644 --- a/app.py +++ b/app.py @@ -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() # try: # server = pywsgi.WSGIServer(('0.0.0.0', 5000), app) # server.serve_forever()