fix(stage-web): should redirects to non-normalized url (#778)

This commit is contained in:
Lovehsigure_520
2025-11-28 16:27:24 +08:00
committed by GitHub
parent 0f2a872736
commit e891678d27
3 changed files with 39 additions and 129 deletions
+5
View File
@@ -8,3 +8,8 @@
# i18n
/docs/ /docs/en/ 301
# Normalize old zh-hans locale path to zh-Hans
# This ensures legacy links like /docs/zh-hans/ still work
/docs/zh-hans/* /docs/zh-Hans/:splat 301
/docs/zh-hans /docs/zh-Hans/ 301