diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-08-14 23:03:57 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-08-22 10:10:02 +0100 |
commit | 89aae265bc3cfd03f4081ef1a8f034e538fef702 (patch) | |
tree | a507bf8b33eb10bf3a3143f1f5483b339eb0da9b /comments | |
parent | 6a8a204020449fee3d8ef5e6175932e3731389f0 (diff) | |
download | mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.gz mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.bz2 mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.xz mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.zip |
align zig and rust implementations of comments
switch deploy script to zig version
Diffstat (limited to 'comments')
-rw-r--r-- | comments/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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| { |