Просмотр исходного кода

Fix: Routes `/api/cors/[...path]` was not configured to run with the Edge Runtime

Yasin 2 лет назад
Родитель
Сommit
5a7b9abe33
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 GET = handle;
 export const OPTIONS = handle;
 export const OPTIONS = handle;
 
 
-export const runtime = "nodejs";
+export const runtime = "edge";