feat: 添加多个日志文件以记录应用程序运行信息

This commit is contained in:
晓丰 2025-07-08 20:38:32 +08:00
parent dbfc2502d7
commit e9c9413e6f

View File

@ -47,5 +47,5 @@ if __name__ == "__main__":
# 支持通过环境变量覆盖监听地址和端口 # 支持通过环境变量覆盖监听地址和端口
import os import os
host = os.getenv("HOST", "0.0.0.0") host = os.getenv("HOST", "0.0.0.0")
port = int(os.getenv("PORT", "5100")) port = 5100
app.run(host=host, port=port, debug=False) app.run(host=host, port=port, debug=False)