diff --git a/next.config.js b/next.config.js index b521a8d58..6e13ab3fd 100644 --- a/next.config.js +++ b/next.config.js @@ -13,7 +13,7 @@ const nextConfig = { // VERCEL_ENV is a system env var set by Vercel // https://vercel.com/docs/projects/environment-variables/system-environment-variables // basePath: process.env.VERCEL_ENV === 'production' ? '/docs' : '', - basePath: '/docs', + basePath: process.env.VERCEL_ENV === 'production' ? '/docs' : '', // async redirects() { // return [ // ...updatedRedirectsData, diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx index 1e11b6b7c..acaff9d34 100644 --- a/src/components/Logo.tsx +++ b/src/components/Logo.tsx @@ -5,12 +5,12 @@ export function Logo(props: React.ComponentPropsWithoutRef<'svg'>) { <> Sourcegraph Docs Sourcegraph Docs