Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Switch to source material for data (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyakase committed Apr 9, 2020
1 parent a8f7d89 commit 0ae02d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ResourceHubLauncher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static class Program

public static bool CheckForInternetConnection() {
try {
new WebClient().OpenRead("http://rhl.my.to/");
new WebClient().OpenRead("https://example.com");
return true;
} catch {
return false;
Expand All @@ -43,7 +43,7 @@ static class Program
}

public static void Start(Loading loading, string[] args) {
Uri dat = new Uri("http://rhl.my.to/data");
Uri dat = new Uri("https://raw.githubusercontent.com/DesktopGooseUnofficial/launcher-backend/master/data.json");
using (WebClient wc = new WebClient()) {

wc.DownloadStringAsync(dat);
Expand Down
2 changes: 1 addition & 1 deletion ResourceHubLauncher/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public partial class Settings : MetroForm {

public static bool CheckForInternetConnection() {
try {
new WebClient().OpenRead("http://rhl.my.to/");
new WebClient().OpenRead("https://example.com");
return true;
} catch {
return false;
Expand Down

0 comments on commit 0ae02d7

Please sign in to comment.