mirror of
https://github.com/HugeFrog24/nini-artgallery.git
synced 2026-03-02 08:24:32 +00:00
Localization and AI chat widget
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { redirect } from "next/navigation";
|
||||
import { routing } from "@/i18n/routing";
|
||||
|
||||
// Minimal fallback — the next-intl middleware handles root redirect with
|
||||
// accept-language negotiation and cookie detection. This page should
|
||||
// never be reached in normal operation.
|
||||
export default function RootPage() {
|
||||
redirect("/en");
|
||||
redirect(`/${routing.defaultLocale}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user