feat: 添加多个日志文件以记录应用程序运行信息
This commit is contained in:
parent
dbfc2502d7
commit
e9c9413e6f
@ -47,5 +47,5 @@ if __name__ == "__main__":
|
||||
# 支持通过环境变量覆盖监听地址和端口
|
||||
import os
|
||||
host = os.getenv("HOST", "0.0.0.0")
|
||||
port = int(os.getenv("PORT", "5100"))
|
||||
port = 5100
|
||||
app.run(host=host, port=port, debug=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user