试了好多种不同规则的防盗链白名单,README.md 仍无法正确显示图片。
看了一下网页里的链接,从我设置的访问 oss 图片的链接变成这个开头的了:camo.githubusercontent.com 。
当然,这个域名设白名单仍然没用。
google 了一下,没有收获
1
mmdsun 2019-01-29 21:29:53 +08:00 via Android
一般防盗链是判断 HTTP_REFERER 的。看一下自己的 HTTP_REFERER 或者提工单问客服。
|
2
Yourshell 2019-01-29 21:42:53 +08:00 1
GitHub 上的图片会缓存在 Github 自己的服务器
https://help.github.com/articles/about-anonymized-image-urls/#troubleshooting-issues-with-camo |
3
skypyb OP @Yourshell 老哥我试了下直接给 https://help.github.com/ 白名单也没用。
|
5
Trim21 2019-01-29 22:40:57 +08:00 via Android 1
@skypyb If an image is being served from a private network or from a server that requires authentication, it can't be viewed by GitHub. In fact, it can't be viewed by any user without asking them to log into the server.
To fix this, please move the image to a service that is publicly available. |