Skip to content

Commit

Permalink
fix(nitro): pass query params to localCall in service worker (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz authored Sep 14, 2021
1 parent cf19a6a commit 2af7359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/entries/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2af7359

Please sign in to comment.