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 138d1ef commit da3d10eCopy full SHA for da3d10e
runtime/features/render.tsx
@@ -49,10 +49,10 @@ export const render = async <TAppManifest extends AppManifest = AppManifest>(
49
50
const url = new URL(href, req.url);
51
const request = new Request(url, req);
52
- const urlPathTemplate = new URLPattern(pathTemplate, "http://localhost:8000");
+ const urlPathTemplate = new URL(pathTemplate, "http://localhost:8000");
53
const params = new URLPattern({
54
pathname: urlPathTemplate.pathname,
55
- search: urlPathTemplate.search,
+ ...(urlPathTemplate.search ? { search: urlPathTemplate.search } : {}),
56
}).exec(url);
57
58
const resolvables = await state.resolve({
0 commit comments