refactor(main): remove allow_unsafe_werkzeug option from SocketIO run configuration
This commit is contained in:
2
main.py
2
main.py
@@ -9,7 +9,7 @@ load_dotenv()
|
|||||||
def main() -> None:
|
def main() -> None:
|
||||||
"""Run the Flask application with SocketIO."""
|
"""Run the Flask application with SocketIO."""
|
||||||
app = create_app()
|
app = create_app()
|
||||||
socketio.run(app, debug=True, host="0.0.0.0", port=5000, allow_unsafe_werkzeug=True)
|
socketio.run(app, debug=True, host="0.0.0.0", port=5000)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user