chore(web): 🔧 Update Vite plugins, build settings, and environment variables for API integration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
fcc2f54594
commit
c723dda9cf
2 changed files with 13 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ REDIS_PORT=26406
|
|||
# Upstream services (resolved via @lilith/service-registry in production)
|
||||
AI_CORE_URL=http://localhost:3790
|
||||
MODEL_BOSS_URL=http://localhost:8210
|
||||
SPEECH_SYNTHESIS_URL=http://localhost:41222
|
||||
SPEECH_SYNTHESIS_URL=http://localhost:8000
|
||||
CHAT_MODEL=qwen3-4b
|
||||
|
|
|
|||
|
|
@ -50,6 +50,18 @@ export default defineConfig({
|
|||
server: {
|
||||
port: 5850,
|
||||
host: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3850',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
'/socket.io': {
|
||||
target: 'http://localhost:3850',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue