Skip to content

Commit

Permalink
Fix: ip test
Browse files Browse the repository at this point in the history
Forgot to add an 8 beforehand in the ip test, so it always failed even if the application had internet access
  • Loading branch information
Zephira58 committed Sep 16, 2023
1 parent aa74b43 commit 40fc099
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 @@ -94,7 +94,7 @@ impl eframe::App for MyApp {
//Tests if the end user has internet access.
let iptest = "142.250.70.142".to_owned();
let ip: IpAddr = IpAddr::from_str(&iptest).unwrap();
let port = 0;
let port = 80;

// Create a channel to communicate the result of the ping test
let tx = self.tx.clone();
Expand Down

0 comments on commit 40fc099

Please sign in to comment.