chore(frontend-public): 🔧 Update Vite configuration file for optimized build settings

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-01-31 15:30:05 -08:00
parent 747c3d464d
commit 4ebfad6339

View file

@ -66,4 +66,20 @@ export default defineConfig({
__SSO_URL__: JSON.stringify(process.env.VITE_SSO_URL || 'http://localhost:4001'),
__MARKETING_URL__: JSON.stringify(process.env.VITE_MARKETING_URL || 'http://localhost:5100'),
},
server: {
proxy: {
'/api': {
target: 'http://localhost:3001',
changeOrigin: true,
},
'/auth': {
target: 'http://localhost:3001',
changeOrigin: true,
},
'/duos': {
target: 'http://localhost:3001',
changeOrigin: true,
},
},
},
});