From 5f7ba73f128eddb5c3e4e11dd0025aa1c8d2f385 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 18 Feb 2021 11:43:05 +0100 Subject: more progress? (broken) --- api/game/socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/game') 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): -- cgit v1.2.3