code-server-like

This commit is contained in:
CakeCN
2025-09-15 14:15:20 +08:00
parent 306bf48754
commit ec45771376
19 changed files with 962 additions and 0 deletions

12
code-server-like/run.py Normal file
View File

@@ -0,0 +1,12 @@
from app import create_app
from app.extensions import socketio
app = create_app()
if __name__ == '__main__':
socketio.run(
app,
host="0.0.0.0",
port=5200,
debug=True, # 开发期打开
allow_unsafe_werkzeug=True, # 避免 dev server 的安全限制提示
)