I'm trying to make requests to Piwik API via Ajax but Piwik doesn't set 'Access-Control-Allow-Origin' field in header.
I modified config.php.ini and added cors_domains = * but nothing changed.
Using version 2.12.1
salt = "censored"
trusted_hosts = "censored"
cors_domains = *
I'm not sure if this will work but can you try
cors_domains = "*" (with double quotes?)
Nope, It doesn't work
Let's investigate and see if we can reproduce this
Thanks @bitbangx for the report!
we documented something that was never implemented. Good to know this now works as documented :+1: