Skip to content

Commit

Permalink
fix: changed route endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
MAXOUXAX committed Jan 15, 2024
1 parent 05bb1b3 commit 6ae6597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const createRoomSchema = {
},
};

server.post("/createRoom", { schema: createRoomSchema }, RoomPOST);
server.post("/rooms/create", { schema: createRoomSchema }, RoomPOST);

server.ready().then(() => {
// we need to wait for the server to be ready, else `server.io` is undefined
Expand Down

0 comments on commit 6ae6597

Please sign in to comment.