混合内容:“myUrl”处的页面是通过HTTP加载的

2024-04-20 00:38:14 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用flask app上传并显示一张图片(在用google cloud vision API显示一些图像分析检测之后),但作为回报,我上传的图片出现了一个错误“Mixed Content:The page at‘myUrl’was loaded over HTTPS”,因此图片不想显示

如果有人能帮我的话

错误:

Mixed Content: The page at 'myUrl' was loaded over HTTPS, but requested an insecure image 'myUrl/_uploads/photos/0b93397fa45180ee219aa69d3957daba_6.jpg'. This content should also be served over HTTPS.


Tags: thehttpsappflask错误googlepage图片