adapts cors
This commit is contained in:
parent
81f7fa5a9a
commit
51c0c6cb1f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import { handleJoinSession, handleNewGame } from "./game/events";
|
|||
const httpServer = new Server(app);
|
||||
export const io = new SocketIOServer(httpServer, {
|
||||
cors: {
|
||||
origin: "http://localhost:5173",
|
||||
origin: "https://skyjo.voltvector.org",
|
||||
methods: ["GET", "POST"],
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue