Might undo later

This commit is contained in:
phoenix
2025-04-20 15:44:16 -04:00
parent aa9f55167d
commit 54bb73eea0
+1 -1
View File
@@ -39,7 +39,7 @@ mod db {
} }
async fn get_db_url() -> String { async fn get_db_url() -> String {
#[cfg(debug_assertions)] // Example: Only load .env in debug builds // #[cfg(debug_assertions)] // Example: Only load .env in debug builds
dotenvy::dotenv().ok(); dotenvy::dotenv().ok();
env::var(keys::DBURL).expect(keys::error::ERROR) env::var(keys::DBURL).expect(keys::error::ERROR)
} }