nginx 指定多个域名跨域请求配置
一般来说,通过js请求非本站网址的地址会提示跨域问题,如下内容: Failed to load http://www.xxxx.com/xxxx: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://192.168.1.200’ is therefore not allowed access.
一般来说,通过js请求非本站网址的地址会提示跨域问题,如下内容: Failed to load http://www.xxxx.com/xxxx: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://192.168.1.200’ is therefore not allowed access.