hello .
i want to integrate userlike.com chat widget to my nextcloud server
because of content security policy i got this
Refused to load the script remote-script-source.js because it violates the following Content Security Policy directive: "script-src 'nonce-
i use
emit_script_tag(‘remote-script-source.js’) in head tag in core/templates/layout.user.php
but i got an other
Refused to load the script ‘http://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-1009.min.js’ because it violates the following Content Security Policy directive: "script-src 'nonce-
this is because remote-script-source.js us http://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-1009.min.js inside its javascript
how can i solve this ?
SOLVED