mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
chore: more missings redirect for languages and enable zh-cn was missing
This commit is contained in:
parent
668bbd0955
commit
42d08eb423
2 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,7 @@ const i18nConfig = {
|
|||
"pt-BR", "ru-RU",
|
||||
"sr-CS", "vi-VN",
|
||||
"yo-NG", "zh-TW",
|
||||
"zh-CN"
|
||||
],
|
||||
localeConfigs: {
|
||||
ar: {
|
||||
|
|
|
@ -1,2 +1,15 @@
|
|||
/docs/en/docker.html /docs/docker 301
|
||||
/docs/en/* /docs/:splat
|
||||
/docs/cs-CZ/* /cs-cz/docs/:splat
|
||||
/docs/de-DE/* /de-de/docs/:splat
|
||||
/docs/es-ES/* /es-es/docs/:splat
|
||||
/docs/fr-FR/* /fr-fr/docs/:splat
|
||||
/docs/it-IT/* /it-it/docs/:splat
|
||||
/docs/pl-PL/* /pl-pl/docs/:splat
|
||||
/docs/pt-BR/* /pt-br/docs/:splat
|
||||
/docs/ru-RU/* /ru-ru/docs/:splat
|
||||
/docs/sr-CS/* /sr-cs/docs/:splat
|
||||
/docs/yo-NG/* /yo-NG/docs/:splat
|
||||
/docs/vi-VN/* /vi-vn/docs/:splat
|
||||
/docs/zh-TW/* /zh-tw/docs/:splat
|
||||
/docs/zh-CN/* /zh-cn/docs/:splat
|
||||
|
|
Loading…
Reference in a new issue