Skip to content

Commit b7da201

Browse files
committed
fix: add redirect route for old path compatibility
1 parent c4fa537 commit b7da201

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/app/connect/route.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This route is maintained to redirect the old path to the new /local route.
2+
// It ensures compatibility for users accessing the old website links
3+
// that have not yet been updated to the new URL.
4+
5+
import { redirect } from "next/navigation";
6+
7+
export const GET = function () {
8+
return redirect("/local");
9+
}

0 commit comments

Comments
 (0)