From 72c5ac488f1ee62ff4d36189d3fc4b1084a3b5fb Mon Sep 17 00:00:00 2001 From: PeratX <1215714524@qq.com> Date: Wed, 30 Aug 2017 17:47:03 +0800 Subject: [PATCH] Removed racaljk/hosts and added googlehosts. Fix #35. Close #36 --- README.md | 2 +- app/src/main/java/org/itxtech/daedalus/Daedalus.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03355aa..b3ea4bc 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ DNS Server Providers Rule Providers ------------- -* __[hosts](https://github.com/racaljk/hosts)__ by *[Cthulhu](https://github.com/racaljk)* - [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh) +* __[hosts](https://github.com/googlehosts/hosts)__ by *[googlehosts](hhttps://github.com/googlehosts)* - [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh) * __[hosts](https://github.com/sy618/hosts)__ by *[sy618](https://github.com/sy618)* - [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh) * __[connector](https://git.oschina.net/lengers/connector)__ by *[lankes](https://git.oschina.net/lengers)* - [GPLv3](https://git.oschina.net/lengers/connector/blob/master/LICENSE) * __[yhosts](https://github.com/vokins/yhosts)__ by *[vokins](https://github.com/vokins)* - [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/) diff --git a/app/src/main/java/org/itxtech/daedalus/Daedalus.java b/app/src/main/java/org/itxtech/daedalus/Daedalus.java index d767a74..1f7a2a6 100644 --- a/app/src/main/java/org/itxtech/daedalus/Daedalus.java +++ b/app/src/main/java/org/itxtech/daedalus/Daedalus.java @@ -65,8 +65,8 @@ public class Daedalus extends Application { public static final List RULES = new ArrayList() {{ //Build-in Hosts rule providers - add(new Rule("racaljk/hosts", "racaljk.hosts", Rule.TYPE_HOSTS, - "https://coding.net/u/scaffrey/p/hosts/git/raw/master/hosts", false)); + add(new Rule("googlehosts/hosts", "googlehosts.hosts", Rule.TYPE_HOSTS, + "https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/hosts", false)); add(new Rule("sy618/hosts", "sy618.hosts", Rule.TYPE_HOSTS, "https://raw.githubusercontent.com/sy618/hosts/master/ADFQ", false)); add(new Rule("vokins/yhosts", "vokins.hosts", Rule.TYPE_HOSTS,