The 'Access-Control-Allow-Origin' header contains multiple values'*, *', but only one is allowed.
2018-01-19 11:58
736 查看
出现这问题有可能是服务器端配置了跨域选项,在代码端也指定了跨域设置导致冲突,去掉一边的配置即可
相关文章推荐
- 跨域:The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed
- the 'access-control-allow-origin' header has a value 'http://localhost' but origin is null
- No 'Access-Control-Allow-Origin' header is present on the requested resource
- 跨域问题:“No 'Access-Control-Allow-Origin' header is present on the requested resource”
- jquery ajax No 'Access-Control-Allow-Origin' header is present on the requested resource
- 解决“No 'Access-Control-Allow-Origin' header is present on the requested resource”
- 前端开发中使用nginx跨域解决No Access-Control-Allow-Origin header localhost:63342 is not allowed access
- “No 'Access-Control-Allow-Origin' header is present on the requested resource”
- 解决 js ajax跨域访问报“No 'Access-Control-Allow-Origin' header is present on the requested resource.”错误
- ajax跨域获取php文件数据报错:No 'Access-Control-Allow-Origin' header is present on the requested resource.”
- jquery跨域访问,no 'access-control-allow-origin' header is present on the requested resource
- arcgis js api调用SOE 设置代理后 调用报No 'Access-Control-Allow-Origin' header is present on the requested ...
- No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is there
- 本地Ajax跨域访问 No 'Access-Control-Allow-Origin' header is present on the requested resource.
- No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 跨域 No 'Access-Control-Allow-Origin' header is present on the requested resource
- ajax跨域(No 'Access-Control-Allow-Origin' header is present on the requested resource)
- No 'Access-Control-Allow-Origin' header is present on the requested resource. 报错解决。
- No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '
- “No 'Access-Control-Allow-Origin' header is present on the requested resource”