diff --git a/.gitignore b/.gitignore index c3994ec35..bf69b23aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ target -data -staging +data* +staging* limitcache examples cert.pem diff --git a/server/src/handlers/http/modal/server.rs b/server/src/handlers/http/modal/server.rs index 74767683a..89cd3aa59 100644 --- a/server/src/handlers/http/modal/server.rs +++ b/server/src/handlers/http/modal/server.rs @@ -480,7 +480,7 @@ impl Server { pub fn get_server_address() -> SocketAddr { // this might cause an issue down the line // best is to make the Cli Struct better, but thats a chore - (CONFIG.parseable.node_url.clone()) + (CONFIG.parseable.ingestor_url.clone()) .parse::() .unwrap() } diff --git a/server/src/utils.rs b/server/src/utils.rs index 6949873a0..5cbe596d2 100644 --- a/server/src/utils.rs +++ b/server/src/utils.rs @@ -228,7 +228,7 @@ impl TimePeriod { #[inline(always)] pub fn get_address() -> (IpAddr, u16) { - let addr = CONFIG.parseable.node_url.parse::().unwrap(); + let addr = CONFIG.parseable.ingestor_url.parse::().unwrap(); (addr.ip(), addr.port()) }