- Refactor 6000+ line web_server.py into server/ module - Create separate modules: auth, chat, conversation, files, admin, etc. - Keep web_server.py as backward-compatible entry point - Add container running status field in user_container_manager - Improve admin dashboard API with credentials and debug support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
8 lines
275 B
Python
8 lines
275 B
Python
"""Flask/SocketIO 扩展实例。"""
|
|
from flask_socketio import SocketIO
|
|
|
|
# 统一的 SocketIO 实例,使用线程模式以兼容现有逻辑
|
|
socketio = SocketIO(cors_allowed_origins="*", async_mode='threading', logger=False, engineio_logger=False)
|
|
|
|
__all__ = ["socketio"]
|