如何在vue.js中制作X型式bypass?

发布于 2025-01-28 03:30:35 字数 859 浏览 3 评论 0原文

我正在尝试打开一个应该向我展示桌子的网站。 该网站在此URL上运行:“ https://:16311/ibm/console // webtop/eventViewer/eventviewer.jsp”。

我的应用程序正在url上运行:“ https://:5000/bsm”。 我正在尝试使用这样打开表:

    <div>
      <iframe src="https://<ip address>:16311/ibm/console//webtop/eventviewer/eventViewer.jsp"></iframe>
    </div>

然后我得到了erro,请求t打开表格,因为“ x-frame-bypass” 我尝试了以下解决方案:

我如何绕过x-frame---选项:Sameorigin http标头?

实现NPM

但是所有这些尝试都失败了。 如何在iframe中打开页面应用程序?

I'm trying to open a website that should show me a table.
The website is running on this url: "https://:16311/ibm/console//webtop/eventviewer/eventViewer.jsp".

My application is running on another server at url: "https://:5000/bsm".
I am try to open the table by using like this:

    <div>
      <iframe src="https://<ip address>:16311/ibm/console//webtop/eventviewer/eventViewer.jsp"></iframe>
    </div>

then i got the erro that the request t open the table block because "x-frame-bypass"
i tried those following solution:
https://www.npmjs.com/package/x-frame-bypass

How Can I Bypass the X-Frame-Options: SAMEORIGIN HTTP Header?

Implement npm package custom component VueJS

but all those attemps was failed.
how can i open page application inside a iframe?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文