【发布时间】:2023-03-16 07:49:01
【问题描述】:
谁能告诉我如何修复 chrome 给我的这个警告?
Mixed Content: The page at 'https://example.com was loaded over HTTPS, but requested an insecure image 'http://support.desk.com/system/site_not_found'. This content should also be served over HTTPS.
在我的 CSS 中, 图片是基于文件的
background-image: url("../../../images/checkers.jpg");
当我把它改成
background-image: url("https://example.com/images/checkers.jpg");
什么都没有发生。 请看下图:
【问题讨论】:
-
请仔细阅读错误信息。
http://support.desk.com/system/site_not_found与https://example.com/images/checkers.jpg完全不同。 -
是的,我遇到这个错误有点奇怪。我到处都找不到
http://support.desk.com/system/site_not_found -
看看这个警告截图:imgur.com/IoPpHWi 我什至检查了
perpect-scrollbar.js,但没有与错误相同的链接。 -
这是您甚至没有提及的非常重要的信息。请edit the question 并包括:1)完整的错误消息(请以文本形式)2)有关触发它的滚动条插件的详细信息。
-
要么 (a) 错误消息涉及不同的代码位,要么 (b) URL 正在重定向到错误页面,因为 URL 一开始就是错误的。
标签: html css google-chrome http https