attempt to fix ERR_EMPTY_RESPONSE
This commit is contained in:
@@ -3,6 +3,8 @@ import { StatusCodes } from "http-status-codes";
|
||||
import { cookies } from "next/headers";
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export const runtime = "nodejs";
|
||||
|
||||
export async function GET(request: NextRequest) {
|
||||
const { searchParams } = new URL(request.url);
|
||||
const code = searchParams.get("code");
|
||||
|
||||
Reference in New Issue
Block a user