Skip to content

Commit

Permalink
Use IP directly instead of domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Fei-xiangShi committed Dec 19, 2024
1 parent 84566ae commit 76c9137
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 @@ -20,7 +20,7 @@ fn main() {
info!("Starting the application...");

loop {
let verification_url = Url::parse("http://4.ipw.cn").unwrap();
let verification_url = Url::parse("http://119.28.5.105").unwrap();
let (success, redirect_html_string) = verify_network_status(&verification_url);
if !success && !redirect_html_string.is_empty() {
let redirect_url = match get_redirect_url(&redirect_html_string) {
Expand Down

0 comments on commit 76c9137

Please sign in to comment.