Explorar el Código

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

Yasin hace 2 años
padre
commit
5a7b9abe33
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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";