目标网站启用了https,自建的html也增加了
// HTML文件 头部必须包含下面一行代码。
<meta http-equiv="Access-Control-Allow-Origin" content="*">
实际使用中提示:
Access to XMLHttpRequest at 'https://www.xxxxx.com/' from origin 'https://www.webshell.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
这个问题怎么处理?
// HTML文件 头部必须包含下面一行代码。
<meta http-equiv="Access-Control-Allow-Origin" content="*">
实际使用中提示:
Access to XMLHttpRequest at 'https://www.xxxxx.com/' from origin 'https://www.webshell.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
这个问题怎么处理?



