diff --git a/src/routes/lobby/+server.ts b/src/routes/lobby/+server.ts index ab9c55c..bd1b0c6 100644 --- a/src/routes/lobby/+server.ts +++ b/src/routes/lobby/+server.ts @@ -18,7 +18,6 @@ export async function GET({ request }) { export async function POST({ request, getClientAddress }) { // TODO: per-ip room limit const body: IRoom = await request.json(); - console.log(body, request.headers); /* description may contain "### END DESCRIPTION ###" on its own line. if it does, get all lines after that */ const parsedDescription = body.description?.split("### END DESCRIPTION ###"); const description = parsedDescription?.slice(1)?.join("### END DESCRIPTION ###") || ""; @@ -42,7 +41,6 @@ export async function POST({ request, getClientAddress }) { if (!token) return new Response(null, { status: 401 }); // TODO: jwt utils which type and validate automatically const user = await useAuth(token); - console.log(user); if (!user) return new Response(null, { status: 401 }); const borkedIp = getClientAddress(); const room = RoomManager.createRoom({