marti Posted February 1, 2016 Report Posted February 1, 2016 Hi!I want to use one asynch TAG on multiple domains so I do not have to create them for all pages.Is that possible? Quote
marti Posted February 1, 2016 Author Report Posted February 1, 2016 In async.js at the position of withCredentials=true set to falseand put this in your httpd.conf:# Always set these headers.Header always set Access-Control-Allow-Origin "*"Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"Header always set Access-Control-Max-Age "1000"Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token" Quote
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.