mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 21:10:02 -04:00
prettier
This commit is contained in:
parent
10b8990524
commit
0e0db30056
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ class UVServiceWorker extends Ultraviolet.EventEmitter {
|
||||||
responseCtx.headers['content-type'] = 'text/event-stream';
|
responseCtx.headers['content-type'] = 'text/event-stream';
|
||||||
}
|
}
|
||||||
if (crossOriginIsolated) {
|
if (crossOriginIsolated) {
|
||||||
responseCtx.headers['Cross-Origin-Embedder-Policy'] = 'require-corp';
|
responseCtx.headers['Cross-Origin-Embedder-Policy'] =
|
||||||
|
'require-corp';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emit('response', resEvent);
|
this.emit('response', resEvent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue