Hosting WebChat from a different domain
It is possible to deploy the WebChat on another server from the one where the website is deployed. When doing this, the server needs to provide a Access-Control-Allow-Origin header set to either the domain that the main website is running on, or * to allow all domains to access the files. If this is omitted, this will cause CORS issues. Example of a web.config that sets the allowed origin to *:
<?xml version="1.0" encoding="UTF-8"?>
<add name="Access-Control-Allow-Origin" value="*"/>
Did you find this page helpful?
Sorry about that
Why wasn't this helpful? (check all that apply)
Thank you for your feedback.
Want to tell us more?
Email your feedback to our documentation team.
Thanks for taking the time to give us some feedback.