crisp-im / crisp-sdk-web

:package: Include the Crisp chat widget from using frameworks such as React, VueJS, Angular...
https://www.npmjs.com/package/crisp-sdk-web
MIT License
40 stars 15 forks source link

Get A mirror in vue3 #5

Closed jashok2 closed 2 years ago

jashok2 commented 2 years ago

index.ts:173 Refused to load the script 'https://client.crisp.chat/l.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

What should I do?

baptistejamin commented 2 years ago

I would recommend adjusting your CSP policies as described here: https://docs.crisp.chat/guides/others/whitelisting-our-systems/crisp-domain-names/