fix(admin): require the admin secret key base at boot (#2514)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-06 15:36:08 +02:00
1 parent 1a5925f9cb
commit a70924d4b0
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ async fn main() -> anyhow::Result<()> {
.with(tracing_subscriber::fmt::layer())
.init();
let config = AdminConfig::from_env();
let config = AdminConfig::from_env()?;
let addr = format!("{}:{}", config.host, config.port);
let router = build_router(config);