mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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({
|
||||
event,
|
||||
url: url.pathname,
|
||||
url: url.pathname + url.search,
|
||||
host: url.hostname,
|
||||
protocol: url.protocol,
|
||||
headers: event.request.headers,
|
||||
|
Loading…
Reference in New Issue
Block a user