From 78c126369bf80f8be54f058db1f22df0805a2763 Mon Sep 17 00:00:00 2001 From: licoy Date: Tue, 19 Sep 2023 10:15:44 +0800 Subject: [PATCH] fix: remove runtime edge type --- app/api/midjourney/[...path]/route.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/api/midjourney/[...path]/route.ts b/app/api/midjourney/[...path]/route.ts index df51d461..e6c443cc 100644 --- a/app/api/midjourney/[...path]/route.ts +++ b/app/api/midjourney/[...path]/route.ts @@ -27,6 +27,4 @@ async function handle(req: NextRequest, {params}: { params: { path: string[] } } } export const GET = handle; -export const POST = handle; - -export const runtime = "edge"; \ No newline at end of file +export const POST = handle; \ No newline at end of file