Web preview of snack-sdk does not work on remote server

Hi,

I am trying to preview the created snack using iframe as was stated in the documentation. Everything works fine on localhost. However, when the app is deployed on heroku, netlify or other remote servers, I can not preview the created snack as “Access to origin is forbidden” error appear.
Is there a way to fix this problem?
P.S. my code of snack and web preview is similar to the code provided in the documentation (snack/snack-sdk.md at main · expo/snack · GitHub)

Hey @tozare, I’ll have to bring this up internally and get back to you.

Cheers,
Adam

1 Like

Hi Adam,
Are there any updates?

Best regards,
Emir