Skip to content

Commit 73a2163

Browse files
authored
Merge pull request #15728 from ethereum/root-redirect
fix: add root redirect default locale (devX)
2 parents 3e3e35f + bf1ac8f commit 73a2163

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { redirect } from "next/navigation"
2+
3+
import { DEFAULT_LOCALE } from "@/lib/constants"
4+
5+
export default function RedirectPage() {
6+
redirect(DEFAULT_LOCALE)
7+
}

0 commit comments

Comments
 (0)