Commit 72e137ba authored by Mygod's avatar Mygod Committed by GitHub

Update ACL URL

parent d1e914ce
...@@ -51,7 +51,7 @@ class AclSyncJob(route: String) extends Job { ...@@ -51,7 +51,7 @@ class AclSyncJob(route: String) extends Job {
try { try {
//noinspection JavaAccessorMethodCalledAsEmptyParen //noinspection JavaAccessorMethodCalledAsEmptyParen
IOUtils.writeString(app.getApplicationInfo.dataDir + '/' + filename, autoClose( IOUtils.writeString(app.getApplicationInfo.dataDir + '/' + filename, autoClose(
new URL("https://raw.githubusercontent.com/shadowsocks/shadowsocks-android/master/src/main/assets/acl/" + new URL("https://shadowsocks.org/acl/android/v1/" +
filename).openConnection().getInputStream())(IOUtils.readString)) filename).openConnection().getInputStream())(IOUtils.readString))
Result.SUCCESS Result.SUCCESS
} catch { } catch {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment