Skip to content

Commit 3b544ac

Browse files
committed
Revert "try trailingSlash: "never" instead"
This reverts commit 41572e2. This didn't work. Sorry for the spam, maybe I should just set up preview branches?
1 parent 41572e2 commit 3b544ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ import starlightScrollToTop from 'starlight-scroll-to-top'
77

88
export default defineConfig({
99
site: SITE_URL,
10-
trailingSlash: 'never',
10+
build: {
11+
// Generates /reference/createBlip.html instead of /reference/createBlip/index.html
12+
// which makes the canonical URL not have a trailing slash.
13+
format: 'file',
14+
},
1115
redirects: {
1216
'/reference/matrix': '/reference/Matrix',
1317
},

0 commit comments

Comments
 (0)