From 8062a10f751f3b3c04fb45e825bbc11a79a241e6 Mon Sep 17 00:00:00 2001 From: Barrie Byron Date: Thu, 17 Aug 2023 14:51:14 -0400 Subject: [PATCH] Apply comment suggestions from code review --- examples/zkapps/04-zkapp-browser-ui/ui/next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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