Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For security reasons you cannot use some of the features in this code without setting a specific header (the blog mentions this).

The sandbox has a button that's basically "Open a preview in a separate tab". If you click that, the header will be sent, and the demo will work.

If you only use the "in-editor" preview, the proper header will not be sent.

Agree not intuitive. Hope it helps, it was a super cool demo.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: