diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-03-03 19:46:29 +0100 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-03-03 19:46:29 +0100 |
commit | ee4519e95550d80d27860d56e939ff8a894f98e6 (patch) | |
tree | ce9defb7c03434c8c70bbc15e9644dac7d20a28d /src | |
parent | 3aac0b0f8bac1e6e5819446befb47db965955721 (diff) |
Fix host
Diffstat (limited to 'src')
-rw-r--r-- | src/database.rs | 2 |
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") )); } |