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 3ccdf4d commit b0811faCopy full SHA for b0811fa
src/server.ts
@@ -367,7 +367,7 @@ export function createApp(siteId: string) {
367
(manifestPaths[`${urlPath}/index.html`] ||
368
manifestPaths[`${urlPath.toLowerCase()}/index.html`])
369
) {
370
- const destination = preserveQueryString(req, urlPath);
+ const destination = preserveQueryString(req, `${urlPath}/`);
371
res.redirect(301, destination);
372
return;
373
}
0 commit comments