From dbdfb42aa4471f2fe54e4448d99fcfb2f16f3db4 Mon Sep 17 00:00:00 2001 From: s7lx Date: Fri, 22 Apr 2016 04:45:21 +0800 Subject: [PATCH] Update SWBAppDelegate.m replace gfwlist from googlecode to github --- ShadowsocksX/SWBAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShadowsocksX/SWBAppDelegate.m b/ShadowsocksX/SWBAppDelegate.m index 5f21a5e2..7702409a 100644 --- a/ShadowsocksX/SWBAppDelegate.m +++ b/ShadowsocksX/SWBAppDelegate.m @@ -460,7 +460,7 @@ - (void)toggleSystemProxy:(BOOL)useProxy { } - (void)updatePACFromGFWList { - [manager GET:@"https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { + [manager GET:@"https://github.com/gfwlist/gfwlist/raw/master/gfwlist.txt" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { // Objective-C is bullshit NSData *data = responseObject; NSString *str = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];