From 9cd2a7303541f8b82c691ed493cfa99a7e4ded4f Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Tue, 21 Nov 2023 09:25:27 -0300 Subject: [PATCH] fix usdc-bridge deploy url --- apps/connect/vite.config.ts | 2 +- apps/connect/vite.usdc-bridge.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/connect/vite.config.ts b/apps/connect/vite.config.ts index 55ce58ba6..122f893c4 100644 --- a/apps/connect/vite.config.ts +++ b/apps/connect/vite.config.ts @@ -4,7 +4,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy' // https://vitejs.dev/config/ export default defineConfig({ - base: process.env.PUBLIC_URL || '/', + base: process.env.PUBLIC_URL || '', define: { wormholeConnectConfig: { env: process.env.VITE_APP_CLUSTER || 'mainnet', diff --git a/apps/connect/vite.usdc-bridge.config.ts b/apps/connect/vite.usdc-bridge.config.ts index 4b6cd41d5..52c502eac 100644 --- a/apps/connect/vite.usdc-bridge.config.ts +++ b/apps/connect/vite.usdc-bridge.config.ts @@ -4,7 +4,7 @@ import viteConfig from './vite.config' // https://vitejs.dev/config/ export default defineConfig({ ...viteConfig, - base: `${viteConfig.base}usdc-bridge/`, + base: `${viteConfig.base}/usdc-bridge/`, define: { wormholeConnectConfig: { ...viteConfig?.define?.wormholeConnectConfig,