change db url
This commit is contained in:
parent
cee861758d
commit
8e9dea9aef
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ use thiserror::Error;
|
||||||
use crate::model::{Chat, Message};
|
use crate::model::{Chat, Message};
|
||||||
|
|
||||||
type Result<T> = std::result::Result<T, AppStateError>;
|
type Result<T> = std::result::Result<T, AppStateError>;
|
||||||
const DB_URL: &str = "postgres://localhost/chatdings";
|
const DB_URL: &str = "postgres://chatdings@localhost/chatdings";
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct AppState {
|
pub struct AppState {
|
||||||
|
|
Loading…
Reference in a new issue