From d1dca58be4fa4a078ce70e540f7c5faf7ba75e8d Mon Sep 17 00:00:00 2001 From: ImJustChew Date: Tue, 18 Jun 2024 16:06:54 +0800 Subject: [PATCH] deedge --- src/app/api/ais_auth/refresh/route.ts | 2 -- src/app/api/ais_auth/signin/route.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/app/api/ais_auth/refresh/route.ts b/src/app/api/ais_auth/refresh/route.ts index 35c56ae2..8efe205a 100644 --- a/src/app/api/ais_auth/refresh/route.ts +++ b/src/app/api/ais_auth/refresh/route.ts @@ -1,8 +1,6 @@ import { refreshUserSession, signInToCCXP } from "@/lib/headless_ais"; import { NextRequest, NextResponse } from "next/server"; -export const runtime = 'edge'; - export const POST = async (req: NextRequest) => { const form = await req.formData(); const studentid = form.get("studentid"); diff --git a/src/app/api/ais_auth/signin/route.ts b/src/app/api/ais_auth/signin/route.ts index 64f6b7f5..d8088182 100644 --- a/src/app/api/ais_auth/signin/route.ts +++ b/src/app/api/ais_auth/signin/route.ts @@ -1,8 +1,6 @@ import { signInToCCXP } from "@/lib/headless_ais"; import { NextRequest, NextResponse } from "next/server"; -export const runtime = 'edge'; - export const POST = async (req: NextRequest) => { const form = await req.formData(); const studentid = form.get("studentid");