Heroku上的iFrame [英] IFrame on Heroku

查看:41
本文介绍了Heroku上的iFrame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Heroku托管的页面上,我有一个IFrame,如下所示:

I have an IFrame, on a page hosted on Heroku like this:

< iframe data-src ="http://jade-lang.com/" class ="scaled_iframe" style ="height:700px;"></iframe>

<iframe data-src="http://jade-lang.com/" class="scaled_iframe" style="height: 700px;"> </iframe>

在本地运行我的项目,或使用Foreman工程.我什至在Azure上托管了相同的项目,并且运行良好,但是在Heroku上托管的IFrame为空白.任何建议将不胜感激

Running my project locally, or using Foreman works. I even have the same project hosted on Azure and it works fine, but the IFrame is blank when it is hosted on Heroku. Any suggestions would be highly appreciated

推荐答案

我正在尝试解决相同的问题.据我了解,Heroku仅允许您调用https.我还没有想出如何解决这个问题.希望我们能找到解决方案!

I'm trying to solve the same problem. As I understand it, Heroku only allows you to make calls to https. I haven't figured out how to get around this yet. Hopefully we can find a solution!

这篇关于Heroku上的iFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆