Fixed rust dependency issues.
This commit is contained in:
parent
97d373ed87
commit
32b7cc5ccb
3 changed files with 7 additions and 18 deletions
|
|
@ -23,7 +23,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
tracing_subscriber::fmt::init();
|
||||
|
||||
// Load environment variables
|
||||
dotenv::dotenv().ok();
|
||||
dotenvy::dotenv().ok();
|
||||
|
||||
let database_url = env::var("DATABASE_URL")
|
||||
.unwrap_or_else(|_| "mysql://astraadmin:password@mysql:3306/astra".to_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue