RaspberryPiFoundation / editor-ui

Code Editor web component
https://editor-static.raspberrypi.org
Apache License 2.0
36 stars 9 forks source link

Investigate setting Pyodide HTTP headers via a service worker #903

Open tuzz opened 8 months ago

tuzz commented 8 months ago

More context: https://raspberrypifoundation.slack.com/archives/C02JBAA2NFP/p1705670224318489

Currently, we are setting some HTTP headers on CloudFlare. We should investigate whether it's possible to set these using a service worker instead to keep application-specific behaviour outside of CloudFlare and within the editor-ui project. We should also look into the approach for the embedded editor, which will be on a different site where we don't necessary control the CloudFlare HTTP headers.

https://dev.to/stefnotch/enabling-coop-coep-without-touching-the-server-2d3n

create-issue-branch[bot] commented 8 months ago

Branch issues/903-Investigate_setting_Pyodide_HTTP_headers_via_a_service_worker created!

sra405 commented 6 months ago

check in incognito