Replace native WebSocket with STOMP/SockJS in LiveSupportPanel

Featurekamo-marketing
Shipped
April 20, 2026 at 6:49 AM UTC
Author
Kamo
Commit
b030db4

- Add @stomp/stompjs and sockjs-client packages - Connect to media.{domain}/ws/public-chat via SockJS+STOMP instead of raw WebSocket to api.{domain} which was wrong host and wrong protocol - After STOMP connect, subscribe to /topic/chat/session/{guid} and notify backend via /app/chat/subscribe to activate NATS JetStream relay - Agent responses now flow: MediaController -> NATS -> ChatWebSocketController -> STOMP broker -> visitor's LiveSupportPanel in real-time

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