diff --git a/src/routes/auth/+server.ts b/src/routes/auth/+server.ts index fa1c9ac..e092d62 100644 --- a/src/routes/auth/+server.ts +++ b/src/routes/auth/+server.ts @@ -1,6 +1,7 @@ import { json } from '@sveltejs/kit'; import type { RequestHandler } from './$types'; -export const POST: RequestHandler = async ({request, platform}) => { - return json({request, platform}); +export const POST: RequestHandler = async (e) => { + console.log([...e.request.headers.entries()]) + return json([...e.request.headers.entries()]); } \ No newline at end of file