From 69a1ae19eede60058b6bd21b95f9cc35bc24ccf8 Mon Sep 17 00:00:00 2001 From: H Vs Date: Fri, 17 Jan 2025 17:39:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= 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 428f8e5..ba7e648 100644 --- a/app.py +++ b/app.py @@ -219,6 +219,6 @@ worker() if __name__ == '__main__': # 获取环境变量 environment = os.environ.get('environment', 'default') - port = 5000 if environment == 'default' else 80 # default 使用 5000,其他环境使用 80 + port = 80 if environment == 'default' else 5000 app.run(debug=False, host='0.0.0.0', port=port) \ No newline at end of file