Update uv.sw.js

This commit is contained in:
Caracal.js 2022-03-13 00:26:52 -05:00 committed by GitHub
parent a2594b3683
commit 2d4b9745ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,7 @@ class UVServiceWorker extends EventEmitter {
};
if (cookieStr) requestCtx.headers.cookie = cookieStr;
requestCtx.headers.Host = requestCtx.url.host;
const reqEvent = new HookEvent(requestCtx, null, null);