fix: add /health proxy rule to Vite config

- Vite now forwards /health to Rust proxy (port 8888)
- Required for Admin Panel proxy health check to work in dev mode
- External Caddy reverse proxy may also need /health forwarding rule
This commit is contained in:
2026-10-23 21:36:57 +08:00
parent fa7a9e1084
commit b1978fabc5
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -35,6 +35,10 @@ export default defineConfig({
'/api/v2': {
target: 'http://localhost:11438',
changeOrigin: true
},
'/health': {
target: 'http://localhost:8888',
changeOrigin: true
}
}
}