release: v2.1.0 - Prompt管理系统、页脚优化、图标修复

This commit is contained in:
ZJPB Admin
2025-12-30 01:17:08 +08:00
parent 9e47ebe749
commit 9f5d006090
23 changed files with 5871 additions and 99 deletions

15
wsgi.py Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env python3
"""
生产环境应用入口
用于gunicorn启动
"""
import os
from app import create_app
# 创建应用实例
app = create_app(os.getenv('FLASK_ENV', 'production'))
if __name__ == '__main__':
# 这个分支仅用于直接运行脚本测试
# 生产环境应该使用 gunicorn
app.run(host='0.0.0.0', port=5000, debug=False)