feat: update environment variables for Koreader registration and localization adjustments

This commit is contained in:
troyeguo
2026-05-17 10:00:01 +08:00
parent 418b727f0c
commit c8111e7342
4 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ func initKoreader() {
}
koreaderPort = getEnv("KOREADER_PORT", "7200")
koreaderRegistrationEnabled = getEnv("KOREADER_ENABLE_REGISTRATION", "true") != "false"
koreaderRegistrationEnabled = getEnv("ENABLE_KOREADER_REGISTRATION", "true") != "false"
// Ensure the config directory exists inside the uploads volume.
dbDir := filepath.Join(uploadDir, "config")