mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-11-06 02:32:21 +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:
1 parent
51f64be025
commit
672fb2d1ad
1 file changed
+2
-1
+2
-1
@@ -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