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.
This commit is contained in:
t8y2 2026-05-07 13:21:46 +08:00
parent aab6d7c3a4
commit fc4a4bfb5b
3 changed files with 2 additions and 3 deletions

View File

@ -35,7 +35,7 @@ export default async function Layout({
nav={{
title: (
<div className="flex items-center gap-2">
<img src="/dbx/logo.png" alt="DBX" width={24} height={24} />
<img src="/logo.png" alt="DBX" width={24} height={24} />
<span className="font-semibold">DBX</span>
</div>
),

View File

@ -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 }) {

View File

@ -4,7 +4,6 @@ const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
basePath: '/dbx',
output: 'export',
images: { unoptimized: true },
};