aboutsummaryrefslogtreecommitdiff
path: root/api/game/socket.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-18 11:43:05 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-18 11:43:05 +0100
commit5f7ba73f128eddb5c3e4e11dd0025aa1c8d2f385 (patch)
treedd47fb691999da383514c7cbbe484bd2470db88b /api/game/socket.py
parent27c1340dbbf18638f680be8557a531180abfd53a (diff)
more progress? (broken)
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):