fix: use require-corp for streaming isolation
This commit is contained in:
parent
c8f732a655
commit
4a8978a1ef
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user