This commit is contained in:
David Reed 2023-06-04 17:11:55 -04:00
parent 10b8990524
commit 0e0db30056
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -267,7 +267,8 @@ class UVServiceWorker extends Ultraviolet.EventEmitter {
responseCtx.headers['content-type'] = 'text/event-stream';
}
if (crossOriginIsolated) {
responseCtx.headers['Cross-Origin-Embedder-Policy'] = 'require-corp';
responseCtx.headers['Cross-Origin-Embedder-Policy'] =
'require-corp';
}
this.emit('response', resEvent);