- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Allowing X-Frame-Options From Node Server To Use Iframe From Hubspot Design Tools
May 28, 2019 4:37 AM - edited May 28, 2019 4:43 AM
Hello, I have a webpage running in Node.js in a server of mine. I added this to my webserver express configuration:
`
const frameguard = require('frameguard')
app.use( frameguard({ action: 'allow-from', domain: 'https://www.hubspot.com/' }) )
`
And now from Design Tools I want to embed this iframe:
`
<iframe src=" ${example_uri} " style="" scrolling="yes"><p>Your browser does not support iframes</p></iframe>
`
For some reason is not working. Maybe im getting wrong the whitelistened hubspot url from frameguard. Could you please tell me which uri should I use in order to whitelist hubspot and allow iframes for my server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content