Skip to content

Commit f85b4a9

Browse files
committed
Remove console log for production subpath in Vite configuration
1 parent 091e25d commit f85b4a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vite.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import tailwindcss from '@tailwindcss/vite'
66
export default defineConfig(({ mode }) => {
77
const env = loadEnv(mode, process.cwd(), '');
88
// In prod, app will be served under `demo.iex.ec/web3messaging` path
9-
console.log(env.SET_SUBPATH_FOR_PROD);
10-
119
const basePath =
1210
env.SET_SUBPATH_FOR_PROD === 'true' ? '/web3messaging' : '/';
1311
console.log('[vite] Building with base path:', basePath);

0 commit comments

Comments
 (0)