我在Django中创建了一个Django,并将其部署在heroku上。我试图显示这个网站从一个html页面使用iframe。然而,当我加载我的html页面时,我得到了错误:gkwhelps.herokuapp.com拒绝了连接。在检查页面时,我得到了以下消息:Refused to display 'http://gkwhelps.herokuapp.com/' in a frame because it set 'X-Frame-Options' to 'deny'.,为了解决这个问题,我修改了gkwhelps.herokuapp.com的set
我尝试在iframe中打开某些站点,但我的浏览器无法加载这些站点。我的源代码是 <body> <p> Your browser does not support iframes. </p> </body>这段代码运行良好,可以在iFrame中加载microsoft.com,但是当我将src更改为时,它不会在iFrame