We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f03194 commit 51c4bfeCopy full SHA for 51c4bfe
1 file changed
docs/next.config.js
@@ -4,8 +4,8 @@ const nextConfig = {
4
images: {
5
unoptimized: true
6
},
7
- basePath: process.env.NODE_ENV === 'production' ? '/OpenVpn-Panel' : '',
8
- assetPrefix: process.env.NODE_ENV === 'production' ? '/OpenVpn-Panel/' : '',
+ // basePath and assetPrefix removed for custom domain deployment
+ // Only use basePath if deploying to username.github.io/repo-name
9
}
10
11
module.exports = nextConfig
0 commit comments