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

Update src/config/parser.rs

This commit is contained in:
alamin655 2023-09-11 11:54:21 +05:30 committed by GitHub
parent 70a5a2463b
commit 531611f077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")?,