...
Navigate to the project you'll use to manage the service requests coming from the Chat Widget and open its Project Settings.
Click Chat Settings > Website Live Chat.
Copy the installation code to the clipboard.
Open your website’s backend. Access the server where your website is hosted using the tool that allows you to modify files or log in to your platform's dashboard.
Locate the file that contains the </body> tag.
...
Code Block |
---|
style-src 'self' 'unsafe-inline' https://spartezchatfiles.b-cdn.net; connect-src 'self' wss://chat-ws.spartez-software.com/ https://api.ipify.org https://spartezchatfiles.b-cdn.net https://chat-api.spartez-software.com https://spartez-chat-attachments-prod.s3.eu-central-1.amazonaws.com/ https://s3.eu-central-1.amazonaws.com/spartez-chat-attachments-prod https://appsync-api.spartez-software.com ; img-src 'self' data: https://* ; media-src 'self' data: https://spartezchatfiles.b-cdn.net; |
The wildcard directive on img-src
is required to load user avatars that can come from many different sources.
...