0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

feat: provide code to parse the new config option (#424)

This commit is contained in:
neon_arch 2023-12-11 21:10:28 +03:00
parent 0da1b9e1db
commit 76419a7353

View File

@ -115,6 +115,7 @@ impl Config {
style: Style::new( style: Style::new(
globals.get::<_, String>("theme")?, globals.get::<_, String>("theme")?,
globals.get::<_, String>("colorscheme")?, globals.get::<_, String>("colorscheme")?,
globals.get::<_, Option<String>>("animation")?,
), ),
#[cfg(feature = "redis-cache")] #[cfg(feature = "redis-cache")]
redis_url: globals.get::<_, String>("redis_url")?, redis_url: globals.get::<_, String>("redis_url")?,