File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const nextConfig = {
1313 // VERCEL_ENV is a system env var set by Vercel
1414 // https://vercel.com/docs/projects/environment-variables/system-environment-variables
1515 // basePath: process.env.VERCEL_ENV === 'production' ? '/docs' : '',
16- basePath : ' /docs',
16+ basePath : process . env . VERCEL_ENV === 'production' ? ' /docs' : ' ',
1717 // async redirects() {
1818 // return [
1919 // ...updatedRedirectsData,
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ export function Logo(props: React.ComponentPropsWithoutRef<'svg'>) {
55 < >
66 < img
77 className = "hidden h-[23px] w-[190px] dark:block"
8- src = { `/docs /logo-theme-dark.svg` }
8+ src = { `${ basePath } /logo-theme-dark.svg` }
99 alt = "Sourcegraph Docs"
1010 />
1111 < img
1212 className = "block h-[23px] w-[190px] dark:hidden"
13- src = { `/docs /logo-theme-light.svg` }
13+ src = { `${ basePath } /logo-theme-light.svg` }
1414 alt = "Sourcegraph Docs"
1515 />
1616 </ >
You can’t perform that action at this time.
0 commit comments