Skip to content

Commit 9c37ef4

Browse files
committed
chore: set trailingSlash=true to align with GitHub Pages behavior
1 parent 9f55f5e commit 9c37ef4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/docusaurus.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const config = {
2424
// Set the /<baseUrl>/ pathname under which your site is served
2525
// For GitHub pages deployment, it is often '/<projectName>/'
2626
baseUrl: '/',
27+
// Explicitly set trailingSlash to avoid GitHub Pages redirects impacting SEO/links
28+
trailingSlash: true,
2729

2830
// GitHub pages deployment config.
2931
// If you aren't using GitHub pages, you don't need these.

0 commit comments

Comments
 (0)