diff --git a/crates/backend/src/state.rs b/crates/backend/src/state.rs index 31a7a3e..31f7f51 100644 --- a/crates/backend/src/state.rs +++ b/crates/backend/src/state.rs @@ -6,7 +6,7 @@ use thiserror::Error; use crate::model::{Chat, Message}; type Result = std::result::Result; -const DB_URL: &str = "postgres://localhost/chatdings"; +const DB_URL: &str = "postgres://chatdings@localhost/chatdings"; #[derive(Debug, Clone)] pub struct AppState {