fix(docs): add trailingSlash for GitHub Pages compatibility
GitHub Pages redirects non-trailing-slash URLs with 301, causing Algolia crawler to ignore all sitemap entries. Setting trailingSlash to true aligns generated URLs with what GitHub Pages actually serves.
This commit is contained in:
1 file changed
+1
@@ -8,6 +8,7 @@ const config: Config = {
|
|||||||
tagline: "A simple yet powerful dashboard for your server.",
|
tagline: "A simple yet powerful dashboard for your server.",
|
||||||
url: "https://homarr.dev",
|
url: "https://homarr.dev",
|
||||||
baseUrl: "/",
|
baseUrl: "/",
|
||||||
|
trailingSlash: true,
|
||||||
favicon: "img/logo.png",
|
favicon: "img/logo.png",
|
||||||
organizationName: "homarr-labs",
|
organizationName: "homarr-labs",
|
||||||
projectName: "homarr",
|
projectName: "homarr",
|
||||||
|
|||||||
Reference in new issue
Block a user