From 44c9a1e607187099a5887f2c2462ec8c96e6e881 Mon Sep 17 00:00:00 2001 From: besscroft Date: Wed, 3 Apr 2024 17:26:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(cloudflare):=20=E9=85=8D=E7=BD=AE=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/login/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/login/route.ts b/app/api/login/route.ts index c38d20a..5afce6d 100644 --- a/app/api/login/route.ts +++ b/app/api/login/route.ts @@ -1,6 +1,8 @@ import 'server-only' import { NextRequest } from 'next/server' +export const runtime = 'edge' + export async function POST(request: NextRequest) { const res = await request.json() console.log(res)