iframe重定向到https网站

时间:2016-08-10 17:01:05

标签: javascript html iframe

我有

<iframe src="https://path/to/site" width="300" />

我现有的网站也在https上。

但我得到了错误

Mixed Content: The page at 'https://path/to/site' was loaded over HTTPS, but requested an insecure resource 'http://path/to/site'. This request has been blocked; the content must be served over HTTPS.

但是src在iframe中有https。

如何解决这个问题?

0 个答案:

没有答案