Possibility of allowing iframe option/custom domain in the roadmap

Hi, thanks for making deploying ML apps such a delightful task! I’m currently migrating my old streamlit apps to Spaces.

I use to build data apps on streamlit cloud and embed the streamlit app website in my blog using iframe so that I can allow the readers to read the extra description about the ML model while trying the app in one place.

Now when I try iframing the Spaces app it would say

Refused to display 'https://huggingface.co/' in a frame because it set 'X-Frame-Options' to 'deny'.

I want to know the team is aware of this and whether there is possibility to allow iframe option/custom domain in the future.

It’s totally acceptable for me if this become a paid option. (and I would subscribe/enroll immediately for this)

Please let me know how the team think about this.
Thanks for reading :slightly_smiling_face:

Hi, did you try the ‘embed this space’ option ?

I have the same issue

hi,how to ‘embed this space’ ,is there any docs? thanks

there is unperfect solution :GitHub - niutech/x-frame-bypass: Web Component extending IFrame to bypass X-Frame-Options: deny/sameorigin

it works for some url