mirror of
https://github.com/roapi/roapi.git
synced 2026-06-11 21:00:56 +08:00
make addr config optional (#302)
This commit is contained in:
parent
b10afb0116
commit
94a206045b
@ -21,6 +21,7 @@ pub struct AddrConfig {
|
||||
|
||||
#[derive(Deserialize, Default, Clone)]
|
||||
pub struct Config {
|
||||
#[serde(default)]
|
||||
pub addr: AddrConfig,
|
||||
pub tables: Vec<TableSource>,
|
||||
pub reload_interval: Option<Duration>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user