mirror of
https://github.com/Xevion/banner.git
synced 2025-12-13 10:11:00 -06:00
chore: drop env prefixed config vars
This commit is contained in:
@@ -32,8 +32,7 @@ async fn main() {
|
||||
|
||||
// Load configuration first to get log level
|
||||
let config: Config = Figment::new()
|
||||
.merge(Env::raw().only(&["DATABASE_URL"]))
|
||||
.merge(Env::prefixed("APP_"))
|
||||
.merge(Env::raw())
|
||||
.extract()
|
||||
.expect("Failed to load config");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user