Skip to content

Commit

Permalink
Fix: Routes /api/cors/[...path] was not configured to run with the …
Browse files Browse the repository at this point in the history
…Edge Runtime
  • Loading branch information
wyxogo authored Jan 8, 2024
1 parent cc86923 commit 5a7b9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/cors/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ export const POST = handle;
export const GET = handle;
export const OPTIONS = handle;

export const runtime = "nodejs";
export const runtime = "edge";

0 comments on commit 5a7b9ab

Please sign in to comment.