1
0
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:
Rob Ede
2023-10-29 01:18:40 +01:00
parent 07bb27eb4b
commit e2c32161a9
9 changed files with 10 additions and 9 deletions

View File

@ -9,7 +9,7 @@ use self::{db::get_db_pool, handlers::register};
#[actix_web::main]
async fn main() -> std::io::Result<()> {
dotenv::dotenv().ok();
dotenvy::dotenv().ok();
env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
let pool = get_db_pool();