We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4fedd commit f2c3b36Copy full SHA for f2c3b36
packages/kit/src/runtime/server/page/render.js
@@ -136,7 +136,7 @@ export async function render_response({
136
page: {
137
host: ${page.host ? s(page.host) : 'location.host'}, // TODO this is redundant
138
path: ${s(page.path)},
139
- query: new URLSearchParams(${page.query.toString().length > 0 ? s(page.query.toString()) : 'location.search'}),
+ query: new URLSearchParams(location.search),
140
params: ${s(page.params)}
141
}
142
}` : 'null'}
0 commit comments