Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在谷歌浏览器无法查看图片 #133

Closed
Jacen-jiajia opened this issue Apr 10, 2024 · 5 comments
Closed

在谷歌浏览器无法查看图片 #133

Jacen-jiajia opened this issue Apr 10, 2024 · 5 comments
Labels
triage/unresolved Indicates an issue that can not or will not be resolved.

Comments

@Jacen-jiajia
Copy link

我绑定了七牛云的对象存储, 然后上传都是正常的, 也绑定的存储的域名,但是在谷歌浏览器查看的时候,一直访问的是https的请求,无法访问http的, 我换成火狐就可以了, 这个怎么解决呢?
12
Snipaste_2024-04-09_14-33-18

@longjuan
Copy link
Member

你halo是不是加了https?谷歌可能会阻止https网站访问http资源,请检查一下。

@ruibaby ruibaby added the triage/unresolved Indicates an issue that can not or will not be resolved. label Apr 15, 2024
@ruibaby
Copy link
Member

ruibaby commented Apr 15, 2024

这是 Chrome 的策略,和插件以及 Halo 都无关,如果你一定想要在 https 网站下加载 http 资源,你可以在 Halo 设置 -> 代码注入的全局 head 中添加这个 meta 标签:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />

但不是特别推荐。

@Jacen-jiajia
Copy link
Author

好的,谢谢了, 目前我已经把这个资源的换成https的了, 原来用的七牛云https的得需要花钱, 现在换成又拍云可以免费用https的.

@ruibaby
Copy link
Member

ruibaby commented Apr 15, 2024

/close

@f2c-ci-robot f2c-ci-robot bot closed this as completed Apr 15, 2024
Copy link

f2c-ci-robot bot commented Apr 15, 2024

@ruibaby: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/unresolved Indicates an issue that can not or will not be resolved.
Projects
None yet
Development

No branches or pull requests

3 participants