【问题标题】:Add frame ancestor / no error / but still can't display iframe添加框架祖先/没有错误/但仍然无法显示 iframe
【发布时间】:2020-06-24 13:20:48
【问题描述】:

我尝试从我的网站 api.opentlv.com 在 iframe 中打开一个网站:narbonne-tourisme.com

我们添加了框架祖先标头,但它仍然不起作用:

你有没有看到我们在这里忘记更改的内容:

Refused to frame 'https://www.narbonne-tourisme.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' api.opentlv.com 51.15.190.144".

提前致谢,

【问题讨论】:

    标签: iframe x-frame-options ancestor


    【解决方案1】:

    答案是:我错过了 http/https

    【讨论】:

      猜你喜欢
      • 2015-06-15
      • 2021-06-02
      • 2019-08-31
      • 2018-03-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多