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 = {};