migrated .env to .config
This commit is contained in:
parent
59cbf07099
commit
25f70e849b
2 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ use cards::{setup_registry, get_data_update_interval};
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
dotenv::dotenv().ok();
|
||||
dotenv::from_filename(".config/app.env").ok();
|
||||
|
||||
let update_interval = get_data_update_interval()?;
|
||||
let registry = setup_registry()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue