问题处理参考
问题复现
- 代码 ```html <!DOCTYPE html>
2. ![image.png](https://cdn.nlark.com/yuque/0/2022/png/1642320/1654838913279-f73cf091-bf5c-477f-b3d7-058eafc07cb4.png#clientId=ub9fbd967-7f9f-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=560&id=u927793f8&margin=%5Bobject%20Object%5D&name=image.png&originHeight=504&originWidth=870&originalType=binary&ratio=1&rotation=0&showTitle=false&size=22238&status=done&style=none&taskId=u7581e125-3107-46e1-9f56-ad3107de7e2&title=&width=966.6666922745889)
3. ![image.png](https://cdn.nlark.com/yuque/0/2022/png/1642320/1654838881355-dafcd97f-5bec-41e1-9d8c-2d8dae7d8875.png#clientId=ub9fbd967-7f9f-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=640&id=u307d6696&margin=%5Bobject%20Object%5D&name=image.png&originHeight=576&originWidth=1162&originalType=binary&ratio=1&rotation=0&showTitle=false&size=53244&status=done&style=none&taskId=u43cee79f-112f-49ac-b9bd-470ae82352f&title=&width=1291.111145313876)
<a name="FU4CX"></a>
## 参考上述博客修复
> head中添加 : `<meta name="referrer" content="no-referrer" />`
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title></title>
<meta name="referrer" content="no-referrer" />
</head>
<body>
<div><a href="http://192.168.0.65:9003/cas/callback" class="center more" >了解更多</a></div>
</body>
</html>
原因来源于网络
这个是因为外链的服务器为了防止别人盗取资源做了限制 一般打开页面会有一个referrer,如果是从其他页面跳转过去,这个referrer会带着原来的页面地址,服务器检测到之后就会限制访问,将其设置为no-referrer就不会带原页面的地址,服务器会认为是直接在浏览器中输入地址打开,就不会限制了