Skip to content

Commit dff9c5b

Browse files
committed
Temporary changed the basepath
1 parent 39d0c3e commit dff9c5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const nextConfig = {
1212
// VERCEL_ENV is a system env var set by Vercel
1313
// https://vercel.com/docs/projects/environment-variables/system-environment-variables
1414
// basePath: process.env.VERCEL_ENV === 'production' ? '/docs' : '',
15-
basePath: process.env.VERCEL_ENV === 'production' ? '/docs' : '',
15+
basePath: '/docs',
1616
// Add transpilePackages for next-mdx-remote if using Turbopack
1717
transpilePackages: ['next-mdx-remote'],
1818
// async redirects() {

src/components/Logo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function Logo(props: React.ComponentPropsWithoutRef<'svg'>) {
2-
const basePath = process.env.VERCEL_ENV === 'production' ? '/docs' : ''
2+
const basePath = '/docs'
33

44
return (
55
<>

0 commit comments

Comments
 (0)