Skip to content

Commit b77db25

Browse files
committed
Add versioning
1 parent 7e56d9b commit b77db25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const config = async (phase, { defaultConfig }) => {
44
const withNextra = nextra({});
55
return {
66
...withNextra(),
7-
basePath: process.env.BASE_PATH || '',
7+
basePath: process.env?.BASE_PATH === undefined || process.env?.BASE_PATH === '/' ? '' : process.env?.BASE_PATH,
88
output: 'export',
99
eslint: {
1010
ignoreDuringBuilds: true,

0 commit comments

Comments
 (0)