作者:周茜闹心_325 | 来源:互联网 | 2023-05-17 05:13
Ihavebeentryingtomigratemysitefromdivshottofirebase,sincefirebasehastakenoverdivsho
I have been trying to migrate my site from divshot to firebase, since firebase has taken over divshot and shut it down.
我一直在尝试将我的网站从divshot迁移到firebase,因为firebase接管了divshot并将其关闭。
Mine is a simple read only site that does not need https. It also contains links to external sites which do not support https. The site worked perfectly on divshot but it looks like firebase forces all sites to use https. Unfortunately, this causes the external sites that my site references to fail loading. The error being:
我是一个简单的只读站点,不需要https。它还包含指向不支持https的外部站点的链接。该网站完美的divshot,但它看起来像firebase强制所有网站使用https。不幸的是,这会导致我的网站引用的外部网站无法加载。错误是:
Mixed Content: The page at 'https://mysite.firebaseapp.com/' was loaded over HTTPS, but requested an insecure resource 'http://www.externalsite.com/'. This request has been blocked; the content must be served over HTTPS.
混合内容:“https://mysite.firebaseapp.com/”上的页面是通过HTTPS加载的,但请求了一个不安全的资源“http://www.externalsite.com/”。此请求已被阻止;内容必须通过HTTPS提供。
I tried to remove the http: so the external site is just //www.externalsite.com/, but this causes certificate errors. I can't change it to https since this external site doesn't support it.
我试图删除http:所以外部网站只是//www.externalsite.com/,但这会导致证书错误。我无法将其更改为https,因为此外部网站不支持它。
Is there any way around this problem?
有没有解决这个问题的方法?
1 个解决方案