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 dedf2c4 commit 210741aCopy full SHA for 210741a
src/server.ts
@@ -349,7 +349,8 @@ export function createApp(siteId: string) {
349
// Trailing slash redirect.
350
if (
351
manifest.redirectTrailingSlashes !== false &&
352
- manifestPaths[`${urlPath}/index.html`]
+ (manifestPaths[`${urlPath}/index.html`] ||
353
+ manifestPaths[`${urlPath.toLowerCase()}/index.html`])
354
) {
355
const destination = `${urlPath}/`;
356
res.redirect(301, destination);
0 commit comments