feat: DEFAULT_LANGUAGE/DEFAULT_TIMEZONE config + public GET /api/config

This commit is contained in:
2026-06-05 14:52:09 +02:00
parent 4a76d6043a
commit 2460a1368d
16 changed files with 161 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@ fn state(pool: PgPool, search: SearchClient) -> AppState {
app_name: "Test".into(),
cookie_secure: false,
search: Some(search),
default_language: "sv".into(),
default_timezone: "Europe/Stockholm".into(),
}
}