Revert email WebSocket URL to same-origin Next.js rewrite path

Fixkamo-internal
Shipped
March 17, 2026 at 11:09 PM UTC
Author
kamo
Commit
9dc94a4

Use /email-ws on same origin, proxied by Next.js rewrites to EmailService via k8s internal DNS. SockJS HTTP fallbacks (xhr-streaming, xhr-polling) work through rewrites — the middleware fix resolved the actual breakage.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing