mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
fix: Add allow_unsafe_werkzeug for threading mode
Flask-SocketIO in threading mode requires explicit permission to use Werkzeug dev server. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -223,5 +223,6 @@ if __name__ == '__main__':
|
||||
app,
|
||||
host=config.FLASK_HOST,
|
||||
port=config.FLASK_PORT,
|
||||
debug=config.FLASK_DEBUG
|
||||
debug=config.FLASK_DEBUG,
|
||||
allow_unsafe_werkzeug=True # Required for threading mode
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user