PointlineDocs
Sign in

Content Security Policy

If your site sends a Content Security Policy, it needs two entries for Pointline. Nothing else.

What to add

Add to your policy
script-src  https://app.pointline.ai;
connect-src https://api.pointline.ai wss://api.pointline.ai;
EntryWhy
script-src https://app.pointline.aiLoads the one script tag.
connect-src https://api.pointline.aiJoins a session with the code or link (one HTTPS request).
connect-src wss://api.pointline.aiThe live connection while the page is shared (a WebSocket).

What you do not need

If your policy uses nonces with strict-dynamic

With 'strict-dynamic', host entries in script-src are ignored, so give the tag your page's nonce like any other script:

HTML
<script nonce="YOUR-NONCE" src="https://app.pointline.ai/sdk.js" async></script>

See what is blocked

Set a report-to (or report-uri) address in your policy, so that a blocked script or connection on a visitor's browser reaches you instead of failing silently. To check one page yourself, add data-debug to the tag and watch the browser console: see Debugging.

The usual sign of a missing entry: the caller enters the code and nothing happens (connect-src), or the button never appears (script-src).

A pinned version

The policy is the same for the versioned, integrity-checked tag on the Get started page.