fix: language code conversion (#53)

This commit is contained in:
UUBulb
2024-12-14 17:17:53 +08:00
committed by GitHub
parent 437a8d7b6c
commit c1177880c8
9 changed files with 38 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ export default function SettingsPage() {
defaultValues: config
? {
...config,
language: config.language.replace("_", "-"),
site_name: config.site_name || "",
user_template:
config.user_template ||