Browse Source

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

Yasin 1 year ago
parent
commit
5a7b9abe33
1 changed files with 1 additions and 1 deletions
  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";