chore(combined-showcase): 🔧 Update Vite build config for Nightcrawler showcase to optimize performance or add new build features
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
9ec5d46054
commit
78d2ee1c52
1 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,18 @@ export default defineConfig({
|
|||
server: {
|
||||
port: 5176,
|
||||
host: true,
|
||||
proxy: {
|
||||
'/api/generator': {
|
||||
target: 'http://localhost:3098',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/generator/, ''),
|
||||
},
|
||||
'/api/solver': {
|
||||
target: 'http://localhost:3099',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api\/solver/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue