Skip to content

Commit 51c4bfe

Browse files
committed
Fix: Remove basePath for custom domain and add docs/lib to git
1 parent 0f03194 commit 51c4bfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const nextConfig = {
44
images: {
55
unoptimized: true
66
},
7-
basePath: process.env.NODE_ENV === 'production' ? '/OpenVpn-Panel' : '',
8-
assetPrefix: process.env.NODE_ENV === 'production' ? '/OpenVpn-Panel/' : '',
7+
// basePath and assetPrefix removed for custom domain deployment
8+
// Only use basePath if deploying to username.github.io/repo-name
99
}
1010

1111
module.exports = nextConfig

0 commit comments

Comments
 (0)