Amio Chat allows to restrict domains where the web chat will be running. Only the whitelisted domains will be allowed for cross origin requests (CORS) during connection to Amio Chat servers.
When adding domains to the whitelist, please keep in mind that the whole fully qualified domain name, including protocol, is required. If your server uses non-standard port, then you have to include it, too (standard ports are 80 for HTTP, 443 for HTTPS).
localhost is allowed and has to be whitelisted if you want to run your code locally.
If the domain whitelist is set to
null or an empty list
[ ], then no connection will be allowed.
Default domain whitelist value is
nullwhich means that no connection will be allowed.