The Content-Security-Policy HTTP response header helps you reduce XSS risks on modern browsers by declaring which dynamic resources are allowed to load. If you are making use of CSP, you must add the following directives to your CSP header:Documentation Index
Fetch the complete documentation index at: https://docs.gleap.io/llms.txt
Use this file to discover all available pages before exploring further.
We strongly recommend using the
https://*.gleap.io wildcard. The SDK contacts several Gleap subdomains (api.gleap.io, ws.gleap.io, messenger-app.gleap.io, outboundmedia.gleap.io, app.gleap.io, js.gleap.io), and the list may grow as we ship new features.Why Pusher is in connect-src
The Gleap messenger uses Pusher for realtime delivery of conversations and notifications. Pusher routes to a regional cluster, so the exact host depends on where your workspace lives:
- EU workspaces:
wss://ws-eu.pusher.comandhttps://sockjs-eu.pusher.com - US workspaces:
wss://ws-mt1.pusher.comandhttps://sockjs-mt1.pusher.com - Other regions follow the same
ws-{cluster}.pusher.com/sockjs-{cluster}.pusher.compattern.
https://*.pusher.com and wss://*.pusher.com in connect-src rather than pinning a single cluster.