From f1d51cf6f4a518200fadaea6c50b46a085fb9902 Mon Sep 17 00:00:00 2001 From: ink-victor <171172553+ink-victor@users.noreply.github.com> Date: Tue, 25 Feb 2025 01:39:30 -0500 Subject: [PATCH] fix: set up redirect --- src/app/[locale]/dashboard/page.tsx | 5 +++++ src/routing.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/app/[locale]/dashboard/page.tsx diff --git a/src/app/[locale]/dashboard/page.tsx b/src/app/[locale]/dashboard/page.tsx new file mode 100644 index 0000000..24119b8 --- /dev/null +++ b/src/app/[locale]/dashboard/page.tsx @@ -0,0 +1,5 @@ +import { redirect } from "next/navigation"; + +export default function DashboardPage() { + redirect("/"); +} diff --git a/src/routing.ts b/src/routing.ts index 628297d..2e1fbdc 100644 --- a/src/routing.ts +++ b/src/routing.ts @@ -71,6 +71,7 @@ export const routing = defineRouting({ pathnames: { "#": "/#", "/": "/", + "/dashboard": "/", "/testnet-bridge": "/testnet-bridge", "/apps": "/apps", "/apps/[category]": "/apps/[category]",