瀏覽代碼

Merge pull request #3789 from wyxogo/upstream

Fix: Routes `/api/cors/[...path]` was not configured to run with the …
fred-bf 1 年之前
父節點
當前提交
04855de495
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/cors/[...path]/route.ts

+ 1 - 1
app/api/cors/[...path]/route.ts

@@ -40,4 +40,4 @@ export const POST = handle;
 export const GET = handle;
 export const OPTIONS = handle;
 
-export const runtime = "nodejs";
+export const runtime = "edge";