From 2bccdc33fcb953ed7aa3a0fb8447f53a429ef96a Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Thu, 10 Sep 2026 02:44:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20redirects=20index=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- messages/en-US.json | 1 + src/app/[orgId]/settings/redirects/page.tsx | 18 ++++++++++++++++++ src/app/navigation.tsx | 6 ++++++ 3 files changed, 25 insertions(+) create mode 100644 src/app/[orgId]/settings/redirects/page.tsx diff --git a/messages/en-US.json b/messages/en-US.json index 7ed4906c1..ea3239b18 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -2095,6 +2095,7 @@ "resourceBudgetSettings": "Budget", "resourceBudgetSettingsDescription": "Configure how this AI gateway restricts usage based on spending or token limits", "sidebarApiKeys": "API Keys", + "sidebarRedirects": "Redirects", "sidebarProvisioning": "Provisioning", "sidebarSettings": "Settings", "sidebarAllUsers": "All Users", diff --git a/src/app/[orgId]/settings/redirects/page.tsx b/src/app/[orgId]/settings/redirects/page.tsx new file mode 100644 index 000000000..a386e6570 --- /dev/null +++ b/src/app/[orgId]/settings/redirects/page.tsx @@ -0,0 +1,18 @@ +import type { Metadata } from "next"; +import { getTranslations } from "next-intl/server"; + +export const metadata: Metadata = { + title: "Redirects" +}; + +type RedirectIndexPageProps = { + params: Promise<{ orgId: string }>; +}; +export const dynamic = "force-dynamic"; + +export default async function ApiKeysPage(props: RedirectIndexPageProps) { + const params = await props.params; + const t = await getTranslations(); + + return null; +} diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index 80352bca8..820619cd8 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -25,6 +25,7 @@ import { MonitorUp, Plug, ReceiptText, + Repeat, ScanEye, Server, Settings, @@ -323,6 +324,11 @@ export const orgNavSections = ( href: "/{orgId}/settings/api-keys", icon: }, + { + title: "sidebarRedirects", + href: "/{orgId}/settings/redirects", + icon: + }, ...(!env?.flags.disableEnterpriseFeatures ? [ {