lemorlenny wrote
Hi, I know this is a classic problem, I read that I need to add the "Access-Control-Allow-Origin: *" header but where in Abyss? and this is enough to fix the problem?
Many thanks in advance.
Lenny
You can add custom HTTP headers headers as explained in
https://aprelium.com/data/doc/2/abyssws-win-doc-html/hosts-configuration.html#HOSTS-GENERAL-ADVANCED-CUSTOMHEADERS .
For example, to add "Access-Control-Allow-Origin: *" to any page or file served by the whole site, open the console, press "Configure" in front of the host to change, next select "General" then "Advanced Parameters".
Now press "Add" in the "Custom HTTP Headers" table
Enter
/ in the "Virtual Path" to make the header added to all files of the Web site (but you can do more fine grained additions by using a subpath or a path with wildcards).
Enter
Access-Control-Allow-Origin in "HTTP Header Name" and
* in "HTTP Header Value".
Press "OK" twice and restart the server.