mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(nitro): pass query params to localCall in service worker (#530)
This commit is contained in:
parent
13abec6143
commit
64a426527f
@ -21,7 +21,7 @@ async function handleEvent (url, event) {
|
|||||||
}
|
}
|
||||||
const r = await localCall({
|
const r = await localCall({
|
||||||
event,
|
event,
|
||||||
url: url.pathname,
|
url: url.pathname + url.search,
|
||||||
host: url.hostname,
|
host: url.hostname,
|
||||||
protocol: url.protocol,
|
protocol: url.protocol,
|
||||||
headers: event.request.headers,
|
headers: event.request.headers,
|
||||||
|
Loading…
Reference in New Issue
Block a user