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 a470213 commit b66ca08Copy full SHA for b66ca08
vite.config.ts
@@ -5,12 +5,8 @@ import tailwindcss from '@tailwindcss/vite'
5
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
- const basePath =
10
- env.SET_SUBPATH_FOR_PROD === 'true' ? '/web3messaging' : '/';
11
- console.log('[vite] Building with base path:', basePath);
12
return {
13
- base: basePath,
+ base: "/web3messaging",
14
define: {
15
'process.env.NEXT_PUBLIC_SECURE_SITE_ORIGIN': JSON.stringify(
16
env.NEXT_PUBLIC_SECURE_SITE_ORIGIN || 'https://secure.walletconnect.org'
0 commit comments