JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Log binding ip and port

Emilia - ⁨1⁩ year ago

parent: tbd commit: ⁨29408ae

Showing ⁨⁨1⁩ changed file⁩ with ⁨⁨2⁩ insertions⁩ and ⁨⁨0⁩ deletions⁩

giterated-daemon/src/main.rs

View file
@@ -38,6 +38,8 @@ async fn main() -> Result<(), Error> {
38 38 text.parse()?
39 39 };
40 40 let mut listener = TcpListener::bind(config["giterated"]["bind"].as_str().unwrap()).await?;
41 info!("Going to listen at {}", config["giterated"]["bind"].as_str().unwrap());
42
41 43 let db_conn_options = PgConnectOptions::new()
42 44 .host(config["postgres"]["host"].as_str().unwrap())
43 45 .port(config["postgres"]["port"].as_integer().unwrap() as u16)