"cors": [
"www.baidu.com"
]
fetch('http://www.baidu.com')
Access to fetch at 'http://www.baidu.com/' from origin 'http://172.20.155.22' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
"cors": [
"www.baidu.com"
]
fetch('http://www.baidu.com')
Access to fetch at 'http://www.baidu.com/' from origin 'http://172.20.155.22' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.