iFrame not working on custom domain

Hi there, hope you’re all doing well!

I’m trying to use an iframe to display a website preview (of webflow websites that i’m working on). This works great on my webflow domain (anicca-development.webflow.io), but not on my custom domain (hosted on AWS) that I recently connected.

Anyone have experience with this issue?

The reason this is happening is because webflow is sending an Content Security Policy directive: “frame-ancestors ‘self’ https://.webflow.com http://.webflow.com http://*.webflow.io http://webflow.com https://webflow.com

As you see it only allows webflow ending domains… i have the same issue btw and i will tell if I find a workaround