push
All checks were successful
/ upload (release) Successful in 31s

This commit is contained in:
pavel 2026-02-12 01:34:24 +01:00
commit 8d19873738
2 changed files with 14 additions and 6 deletions

View file

@ -15,7 +15,6 @@ pub struct Config {
pub agent_max_turns: u32,
pub agent_max_duration_secs: u64,
pub vapid_private_key: String,
pub vapid_public_key: String,
}
impl Config {
@ -58,8 +57,6 @@ impl Config {
let vapid_private_key = env::var("VAPID_PRIVATE_KEY")
.map_err(|_| AppError::Config("VAPID_PRIVATE_KEY must be set".into()))?;
let vapid_public_key = env::var("VAPID_PUBLIC_KEY")
.map_err(|_| AppError::Config("VAPID_PUBLIC_KEY must be set".into()))?;
Ok(Config {
database_url,
@ -74,7 +71,6 @@ impl Config {
agent_max_turns,
agent_max_duration_secs,
vapid_private_key,
vapid_public_key,
})
}
}