From 5adda08cd3651a239f8970306c78785e9281ea58 Mon Sep 17 00:00:00 2001 From: uo288543 Date: Mon, 8 Apr 2024 16:13:47 +0200 Subject: [PATCH] Uncomment one line --- multiplayer/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/multiplayer/index.js b/multiplayer/index.js index 07f111c6..5d0f403e 100644 --- a/multiplayer/index.js +++ b/multiplayer/index.js @@ -22,6 +22,7 @@ const apiEndpoint = process.env.GATEWAY_SERVICE_ENDPOINT || 'http://localhost:80 // Middlewares added to the application app.use(express.json()); +app.use(cors()); const gameRooms = {}; const gameResults = {};