Hosting WebChat from a different domain
Note Additional Anywhere365 WebAgent license required.
Note Enterprise license and higher
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.
Thanks for taking the time to give us some feedback.