replace dotenv with dotenvy
This commit is contained in:
parent
a641375f92
commit
37695b8bbd
3 changed files with 6 additions and 6 deletions
|
@ -374,7 +374,7 @@ where
|
|||
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
dotenv::dotenv().ok();
|
||||
dotenvy::dotenv().ok();
|
||||
env_logger::init();
|
||||
|
||||
let static_dir: PathBuf = env_or_else("TRANSBEAM_STATIC_DIR", || PathBuf::from("static"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue