Add Japanese language support to Vite config

This commit is contained in:
tkymmm
2026-04-10 17:33:54 +09:00
committed by GitHub
parent 51fab1cbf8
commit e72df17c38

View File

@@ -33,6 +33,7 @@ const SUPPORTED_LANGUAGES = [
'zh',
'zh-TW',
'ko',
'ja',
] as const;
const LANG_REGEX = new RegExp(
`^/(${SUPPORTED_LANGUAGES.join('|')})(?:/(.*))?$`