Remove commented-out code
This commit is contained in:
parent
855222fa28
commit
705edf0e45
@ -15,10 +15,6 @@ use tokio::runtime::TaskExecutor;
|
|||||||
pub struct HttpServerConfig {
|
pub struct HttpServerConfig {
|
||||||
pub enabled: bool,
|
pub enabled: bool,
|
||||||
pub listen_address: String,
|
pub listen_address: String,
|
||||||
/*
|
|
||||||
pub listen_address: Ipv4Addr,
|
|
||||||
pub port: u16,
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for HttpServerConfig {
|
impl Default for HttpServerConfig {
|
||||||
@ -26,10 +22,6 @@ impl Default for HttpServerConfig {
|
|||||||
Self {
|
Self {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
listen_address: "127.0.0.1:5051".to_string(),
|
listen_address: "127.0.0.1:5051".to_string(),
|
||||||
/*
|
|
||||||
listen_address: Ipv4Addr::new(127, 0, 0, 1),
|
|
||||||
port: 5051,
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user