triballi Posted August 24, 2015 Report Share Posted August 24, 2015 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 Quote Link to comment Share on other sites More sharing options...
triballi Posted August 24, 2015 Author Report Share Posted August 24, 2015 OK. I think I found solution.In www/delivery/asyncspc.phpI replaced line 2454MAX_header('Access-Control-Allow-Origin: * ');withMAX_header('Access-Control-Allow-Origin: http://deliverysite.rs');MAX_header('Access-Control-Allow-Credentials: true');I cleared var/cacheAnd it works now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.