aboutsummaryrefslogtreecommitdiff
path: root/api/game/socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/game/socket.py')
-rw-r--r--api/game/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/game/socket.py b/api/game/socket.py
index d6dff1b..fdeac73 100644
--- a/api/game/socket.py
+++ b/api/game/socket.py
@@ -19,7 +19,7 @@ class game:
self.board.drop_fisje(column)
def run(app):
- io = SocketIO(app)
+ io = SocketIO(app, cors_allowed_origins="*")
@io.on("new_move", namespace)
def new_move(data):