We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207ea21 commit b6d54a6Copy full SHA for b6d54a6
vite.config.ts
@@ -6,6 +6,8 @@ import tailwindcss from '@tailwindcss/vite'
6
export default defineConfig(({ mode }) => {
7
const env = loadEnv(mode, process.cwd());
8
// In prod, app will be served under `demo.iex.ec/web3messaging` path
9
+ console.log(env.SET_SUBPATH_FOR_PROD);
10
+
11
const basePath =
12
env.SET_SUBPATH_FOR_PROD === 'true' ? '/web3messaging' : '/';
13
console.log('[vite] Building with base path:', basePath);
0 commit comments