websocket fix

This commit is contained in:
2025-05-27 15:37:05 +02:00
parent dcf8af5e39
commit b86c4b4363
3 changed files with 11 additions and 2 deletions

View File

@@ -52,4 +52,9 @@ init_admin()
# Start the application
echo "Starting application..."
exec gunicorn --worker-class sync -w 1 --bind 0.0.0.0:5000 app:app
exec python3 -c "
from app import create_app
from extensions import socketio
app = create_app()
socketio.run(app, host='0.0.0.0', port=5000, debug=False, use_reloader=False)
"