From ee4519e95550d80d27860d56e939ff8a894f98e6 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Tue, 3 Mar 2020 19:46:29 +0100 Subject: Fix host --- src/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database.rs b/src/database.rs index 2970011..94a07d6 100644 --- a/src/database.rs +++ b/src/database.rs @@ -4,7 +4,7 @@ use std::sync::{Arc, Mutex}; lazy_static! { static ref CLIENT: Arc> = Arc::new(Mutex::new( - Client::connect("host=localhost user=postgres password=example", NoTls) + Client::connect("host=track_db user=postgres password=example", NoTls) .expect("failed to connect to database") )); } -- cgit v1.2.3