mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
update dotenv::dotenv references
This commit is contained in:
@ -24,7 +24,7 @@ fn get_conn_builder(
|
||||
#[actix_web::main]
|
||||
async fn main() -> io::Result<()> {
|
||||
// initialize environment
|
||||
dotenv::dotenv().ok();
|
||||
dotenvy::dotenv().ok();
|
||||
|
||||
// initialize logger
|
||||
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
|
||||
|
Reference in New Issue
Block a user