mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-08 17:36:45 +08:00
* fix(web): proxy /health to the backend in the runtime rewrite
`multica setup self-host` probes {server-url}/health and treats any
non-200 as "Server not reachable". The backend serves the path, but the
web image's runtime rewrite only covered /docs, /v1, /api, /uploads, /ws
and /auth, so a same-origin reverse proxy that forwards everything to the
web image left the probe 404ing at the Next.js router — setup failed
against a healthy stack unless the proxy also routed /health to the
backend explicitly. Add the exact path next to /ws, in both the runtime
rewrite and the next.config.ts dev rewrites.
* test(web): cover /health at the proxy layer, guard /healthz and /readyz