CSP settings for the Navi SDK (npm and CDN)
connect-src
includes Navi APIs and common provider endpoints (ElevenLabs, Vapi). Add any additional domains your configuration uses.wss:
is included for provider real-time connections.img-src
allows Unsplash if you use the default backgrounds.style-src 'unsafe-inline'
may be required by your app and third-party components. If you disallow it, ensure all inline styles are removed.script-src
to your own origin(s) ('self'
) unless you load other third-party scripts.script-src
and style-src
as shown above, or self-host the built files to keep 'self'
only.