diff --git a/examples/zkapps/04-zkapp-browser-ui/ui/next.config.js b/examples/zkapps/04-zkapp-browser-ui/ui/next.config.js index b9a678b0c..c80b6d05f 100644 --- a/examples/zkapps/04-zkapp-browser-ui/ui/next.config.js +++ b/examples/zkapps/04-zkapp-browser-ui/ui/next.config.js @@ -42,8 +42,8 @@ const nextConfig = { * The 'ghp-postbuild.js' script in this project prepends the repo name to asset urls in the built css files * after runing 'npm run deploy'. */ - basePath: process.env.NODE_ENV === 'production' ? '/04-zkapp-browser-ui' : '', // update if your repo name changes for 'npm run deploy' to work successfully - assetPrefix: process.env.NODE_ENV === 'production' ? '/04-zkapp-browser-ui' : '' // update if your repo name changes for 'npm run deploy' to work successfully + basePath: process.env.NODE_ENV === 'production' ? '/04-zkapp-browser-ui' : '', // update basePath if you change your repo name + assetPrefix: process.env.NODE_ENV === 'production' ? '/04-zkapp-browser-ui' : '' // update assetPrefix if you change your repo name. }; module.exports = nextConfig; \ No newline at end of file