From 89aae265bc3cfd03f4081ef1a8f034e538fef702 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 14 Aug 2023 23:03:57 +0100 Subject: align zig and rust implementations of comments switch deploy script to zig version --- comments/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comments') diff --git a/comments/src/main.rs b/comments/src/main.rs index 7064bca..50f568f 100644 --- a/comments/src/main.rs +++ b/comments/src/main.rs @@ -51,7 +51,7 @@ async fn main() { .unwrap_or_else(|_| "/api".to_string()); let db_connection_str = std::env::var("DATABASE_URL") - .unwrap_or_else(|_| "postgres://postgres:password@localhost".to_string()); + .unwrap_or_else(|_| "postgres://comments@localhost/comments".to_string()); let notification_address = std::env::var("NOTIFICATION_ADDRESS").ok(); let mail_opts = notification_address.map(|na| { -- cgit v1.2.3-ZIG