chore(frontend-public): 🔧 Update Vite configuration file for optimized build settings
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
747c3d464d
commit
4ebfad6339
1 changed files with 16 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue