summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2020-03-03 19:46:29 +0100
committerDennis Kobert <dennis@kobert.dev>2020-03-03 19:46:29 +0100
commitee4519e95550d80d27860d56e939ff8a894f98e6 (patch)
treece9defb7c03434c8c70bbc15e9644dac7d20a28d
parent3aac0b0f8bac1e6e5819446befb47db965955721 (diff)
Fix host
-rw-r--r--src/database.rs2
1 files changed, 1 insertions, 1 deletions
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<Mutex<Client>> = 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")
));
}