From fc4a4bfb5bec2b0bf8703c493cf0b7be0a3ac4ef Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Thu, 7 May 2026 13:21:46 +0800 Subject: [PATCH] docs: remove basePath for custom domain deployment Remove /dbx basePath and update asset paths from /dbx/logo.png to /logo.png for deploying docs site on a custom domain. --- docs/app/[lang]/docs/layout.tsx | 2 +- docs/app/layout.tsx | 2 +- docs/next.config.mjs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/app/[lang]/docs/layout.tsx b/docs/app/[lang]/docs/layout.tsx index 8f9f80f42..dc14d6178 100644 --- a/docs/app/[lang]/docs/layout.tsx +++ b/docs/app/[lang]/docs/layout.tsx @@ -35,7 +35,7 @@ export default async function Layout({ nav={{ title: (
- DBX + DBX DBX
), diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx index 79a7f0763..e29180b76 100644 --- a/docs/app/layout.tsx +++ b/docs/app/layout.tsx @@ -7,7 +7,7 @@ export const metadata = { template: '%s | DBX', }, description: '25+ databases in 15 MB. Desktop & Docker self-hosting, with built-in AI assistant.', - icons: { icon: '/dbx/logo.png' }, + icons: { icon: '/logo.png' }, }; export default function RootLayout({ children }: { children: ReactNode }) { diff --git a/docs/next.config.mjs b/docs/next.config.mjs index 2a2ddc140..adbeea417 100644 --- a/docs/next.config.mjs +++ b/docs/next.config.mjs @@ -4,7 +4,6 @@ const withMDX = createMDX(); /** @type {import('next').NextConfig} */ const config = { - basePath: '/dbx', output: 'export', images: { unoptimized: true }, };