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:
parent
aab6d7c3a4
commit
fc4a4bfb5b
|
|
@ -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>
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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 }) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ const withMDX = createMDX();
|
|||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const config = {
|
||||
basePath: '/dbx',
|
||||
output: 'export',
|
||||
images: { unoptimized: true },
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue