fix: 启用TEMPLATES_AUTO_RELOAD,使用nohup保持进程运行

This commit is contained in:
mac
2026-06-02 20:17:55 +08:00
parent ebdb8cda3b
commit 9edabd964b

3
app.py
View File

@@ -181,4 +181,5 @@ def api_user():
if __name__ == '__main__':
init_db()
app.run(host='0.0.0.0', port=5056, debug=False)
app.config['TEMPLATES_AUTO_RELOAD'] = True
app.run(host='0.0.0.0', port=5058, debug=False)