Skip to content

Commit 03f9ff2

Browse files
committed
Fix trailingSlash configuration to prevent URL redirection on GitHub Pages
1 parent de0ebcc commit 03f9ff2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ const config: Config = {
1515
title: "FlywaveGL",
1616
url: "https://flywave.gl",
1717
baseUrl: "/flywave.gl/",
18+
// 添加 trailingSlash 配置,确保在所有环境下 URL 行为一致
19+
trailingSlash: false,
1820

1921
favicon: "img/favicon.ico",
2022
tagline: "3D 地图渲染引擎",

0 commit comments

Comments
 (0)