fix: use require-corp for streaming isolation

This commit is contained in:
Mihaela Mihaljevic 2026-06-07 00:50:37 +02:00
parent c8f732a655
commit 4a8978a1ef

View File

@ -1,7 +1,7 @@
(() => {
const coop = "same-origin";
const coep = "credentialless";
const reloadKey = "pureyamlStreamingCOIReloadedV2";
const coep = "require-corp";
const reloadKey = "pureyamlStreamingCOIReloadedV3";
if (typeof Window !== "undefined" && self instanceof Window) {
if (window.crossOriginIsolated || !("serviceWorker" in navigator) || !window.isSecureContext) {