3 ms·
I’m sorry your project was stalled by this. What static file hosting were you using? If it doesn’t support COOP/COEP headers yet, you can force it by using a
by wffurr 5y ago
I’m sorry your project was stalled by this.
What static file hosting were you using? If it doesn’t support COOP/COEP headers yet, you can force it by using a service worker with this neat hack: https://stefnotch.github.io/web/COOP%20and%20COEP%20Service%20Worker/ https://stefnotch.github.io/web/COOP%20and%20COEP%20Service%...
Firebase hosting would allow you to set headers with a .htaccess file. Cloudflare Workers can also set the headers.
If your project was going to entail loading resources from other origins not under your control, well, that’s exactly the code injection scenario these headers are designed to prevent.
- Ralo 5y agoSorry late reply, ended up going to bed. This article is actually very interesting, I'll have to dig deeper into this. Thanks.