diff --git a/.env.example b/.env.example index c47ddd9..222038c 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ -DATABASE_URL='postgres://fedihub:fedihub@localhost:5432/fedihub_development' +DATABASE_URL='postgres://fedihub_website_development:fedihub_website_development@localhost:5432/fedihub_website_development' SECRET_KEY='AQBtboLMg6SkvabJodunoFwsv8F3VgzRKaL8PdEHSkQ=' diff --git a/src/config.rs b/src/config.rs index 47c5236..77fe3e5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,8 +7,7 @@ use rocket::config::{ const DEFAULT_ENVIRONMENT: Environment = Environment::Development; const DEFAULT_ADDRESS: &str = "127.0.0.1"; const DEFAULT_PORT: u16 = 8000; -const DEFAULT_DATABASE_URL: &str = - "postgres://fedihub:fedihub@localhost/fedihub_development"; +const DEFAULT_DATABASE_URL: &str = "postgres://fedihub_website_development:fedihub_website_development@localhost:5432/fedihub_website_development"; #[derive(Debug)] pub enum Environment {