mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-22 14:08:23 -05:00
Update src/config/parser.rs
This commit is contained in:
parent
70a5a2463b
commit
531611f077
@ -79,7 +79,7 @@ impl Config {
|
|||||||
parsed_threads
|
parsed_threads
|
||||||
};
|
};
|
||||||
|
|
||||||
let rate_limter = globals.get::<_,HashMap<String, u8>>("rate_limiter")?;
|
let rate_limiter = globals.get::<_,HashMap<String, u8>>("rate_limiter")?;
|
||||||
|
|
||||||
Ok(Config {
|
Ok(Config {
|
||||||
port: globals.get::<_, u16>("port")?,
|
port: globals.get::<_, u16>("port")?,
|
||||||
|
Loading…
Reference in New Issue
Block a user