Skip to content

Commit e7f1aab

Browse files
author
visal
committed
add runtime edge to all routes to make it work on cf page
1 parent f942366 commit e7f1aab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/connect/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import { redirect } from "next/navigation";
66

7+
export const runtime = "edge";
8+
79
export const GET = function () {
810
return redirect("/local");
911
}

0 commit comments

Comments
 (0)