提问人:mahdiyar abdollahi 提问时间:8/2/2023 最后编辑:marc_smahdiyar abdollahi 更新时间:8/2/2023 访问量:78
Chromium 浏览器替换了 https 而不是 http,用于在 .NET Core 中加载图像
Chromium Browsers replaces https instead of http for loading images in .NET Core
问:
我最近发布了我的网站,我从这样的下载主机加载了我的图像
<img src="@Model.ImageLink" />
问题是我的网站有SSL,但我的下载主机没有。在Chromium浏览器(ig Edge和Chrome)中,它取代了https而不是http来加载图像,并且因为我的下载主机不支持SSL,所以它返回404。
我使用 ASP.NET Core 6 MVC。我想做点什么,这样 Chromium 浏览器就不会自动更改它
答: 暂无答案
评论