From 5a7b9abe33ec2a84c9abd7a213d70fb06d199612 Mon Sep 17 00:00:00 2001 From: Yasin <61509470+wyxogo@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:43:31 +0800 Subject: [PATCH] Fix: Routes `/api/cors/[...path]` was not configured to run with the Edge Runtime --- app/api/cors/[...path]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/cors/[...path]/route.ts b/app/api/cors/[...path]/route.ts index 0217b12b08f..1f70d663082 100644 --- a/app/api/cors/[...path]/route.ts +++ b/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";