Skip to content

Commit

Permalink
refactor: update default config file path in main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
single9 committed Jul 11, 2024
1 parent 58ee715 commit bbb19fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod ip_geo_checker;

#[tokio::main]
async fn main() -> Result<()> {
let path = env::var("CONFIG_PATH").unwrap_or("./configs/domain.toml".to_string());
let path = env::var("CONFIG_PATH").unwrap_or("./configs/config.toml".to_string());
let parser = ConfigParser::new_with_path(path);
let config = parser.config();
let res = IpGeoChecker::new(reqwest::Client::new())
Expand Down

0 comments on commit bbb19fd

Please sign in to comment.