triballi
-
Posts
2 -
Joined
-
Last visited
Posts posted by triballi
-
-
Hi,
everything worked perfect till several days ago. Then all banners stopped delivering. I updated Revive but without results.
Then I checked in debugger and saw this error:
Wildcards cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://deliverysite.rs' is therefore not allowed access.
How can I solve this problem?
thanks,
Milan
Banners not delivering - Access-Control-Allow-Origin problem
in Using Revive Adserver
Posted
OK. I think I found solution.
InĀ www/delivery/asyncspc.php
I replaced line 2454
MAX_header('Access-Control-Allow-Origin: * ');
with
MAX_header('Access-Control-Allow-Origin: http://deliverysite.rs');
MAX_header('Access-Control-Allow-Credentials: true');
I cleared var/cache
And it works now