XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.
Add the following code to response of the some.domain server
Access-Control-Allow-Origin: *
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
阅读(4135) | 评论(0) | 转发(0) |