attempt to fix ERR_EMPTY_RESPONSE

This commit is contained in:
2026-02-14 15:17:11 +01:00
parent e704c75c7a
commit 3c6d6e460a
+2
View File
@@ -3,6 +3,8 @@ import { StatusCodes } from "http-status-codes";
import { cookies } from "next/headers"; import { cookies } from "next/headers";
import { NextRequest, NextResponse } from "next/server"; import { NextRequest, NextResponse } from "next/server";
export const runtime = "nodejs";
export async function GET(request: NextRequest) { export async function GET(request: NextRequest) {
const { searchParams } = new URL(request.url); const { searchParams } = new URL(request.url);
const code = searchParams.get("code"); const code = searchParams.get("code");