fix(docs): auto redirect to target language (#270)

This commit is contained in:
Neko
2025-07-15 17:16:27 +08:00
committed by GitHub
parent 1426238245
commit d7b8ff98ef
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
# i18n
/docs/* /docs/zh-Hans/:splat 301 Language=zh-Hans
/docs/* /docs/zh-Hans/:splat 301 Language=zh-CN
/docs/* /docs/en/:splat 301
+4
View File
@@ -0,0 +1,4 @@
# i18n
/* /zh-Hans/:splat 301 Language=zh-Hans
/* /zh-Hans/:splat 301 Language=zh-CN
/* /en/:splat 301