Skip to content

Commit

Permalink
fix: wrong database uri
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulrahman1s committed Jun 22, 2022
1 parent 2a3efbf commit 072d7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ macro_rules! get {
}

lazy_static! {
pub static ref DATABASE_URI: String = get!("DATABASE_URI", "redis://localhost");
pub static ref REDIS_URI: String = get!("REDIS_URI");
pub static ref DATABASE_URI: String = get!("DATABASE_URI", "postgres://postgres:postgres@localhost:5432/database");
pub static ref REDIS_URI: String = get!("REDIS_URI", "redis://localhost");
pub static ref CAPTCHA_ENABLED: bool = is_true(get!("CAPTCHA_ENABLED", "false"));
pub static ref CAPTCHA_TOKEN: String = get!("CAPTCHA_TOKEN");
pub static ref CAPTCHA_KEY: String = get!("CAPTCHA_KEY");
Expand Down

0 comments on commit 072d7b1

Please sign in to comment.