remove debug logging
This commit is contained in:
parent
52de1dbb15
commit
fcd165e990
1 changed files with 0 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue