Update uv.sw.js
This commit is contained in:
parent
a2594b3683
commit
2d4b9745ad
1 changed files with 2 additions and 1 deletions
|
|
@ -96,6 +96,7 @@ class UVServiceWorker extends EventEmitter {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (cookieStr) requestCtx.headers.cookie = cookieStr;
|
if (cookieStr) requestCtx.headers.cookie = cookieStr;
|
||||||
|
requestCtx.headers.Host = requestCtx.url.host;
|
||||||
|
|
||||||
|
|
||||||
const reqEvent = new HookEvent(requestCtx, null, null);
|
const reqEvent = new HookEvent(requestCtx, null, null);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue