Cross-origin iframe?

Loving prodigy, really impressive app. Thanks for all the great work.

I'm hosting prodigy in an iFrame, but it needs to be cross origin (eg the hosting page is a different domain to the domain prodigy is on). I've set host: "*" in the prodigy.json which doesn't seem to have made any difference. The iFrame doesn't display due to the cross origin issue.

Any hints or direction greatly welcomed.

Hi and thanks! :blush:

I spent some more time reading into CORS and I'm not sure I understand why it's not working because by default, Prodigy should enable it :thinking: The source of the is included with Prodigy (you can run prodigy stats to find the location of your Prodigy installation) so you can see how the CORS middleware is implemented. If there's anything that needs to change here, you can edit the endpoints serving the static site or the middelware config.

(This post also has some quick and dirty workarounds if you just want to test it and keep working. But I'll also have another look into it to see if there's an easy fix on Prodigy's end.)