mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-23 01:20:52 +00:00
Use dotenvy in main
This commit is contained in:
parent
4260e28a52
commit
5ce3637bde
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ struct Args {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
dotenvy::dotenv().ok();
|
||||
env_logger::Builder::from_env(Env::default().default_filter_or("info")).init();
|
||||
let args = Args::parse();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue