KamoCRM

Add /ws/public-chat-native plain WebSocket endpoint alongside SockJS

FeatureMediaService
Shipped
April 25, 2026 at 11:06 PM UTC
Author
Kamo
Commit
50f1ba9

Registers a second STOMP endpoint without SockJS at /ws/public-chat-native so that the frontend can connect with a native WebSocket (brokerURL) without needing the sockjs-client library, which registers an unload handler that violates the site's Permissions-Policy. The original /ws/public-chat SockJS endpoint is kept for backwards compatibility.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing