Skip to content

Commit

Permalink
fix wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
URenko committed Apr 25, 2019
1 parent 52d1db7 commit 1a9a85d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Accesser
一个解决SNI RST导致中文维基、Pixiv等站点无法访问的工具
一个解决SNI RST导致维基百科、Pixiv等站点无法访问的工具
[支持的站点](https://github.com/URenko/Accesser/wiki/目前支持的站点)

[![](https://img.shields.io/github/release/URenko/Accesser.svg)](https://github.com/URenko/Accesser/releases/latest)
Expand All @@ -18,7 +18,7 @@
- tld

## 增加支持的网站
按pac文件格式编辑`pac.txt`使要支持的网站从代理过
按pac文件格式编辑`template/pac`使要支持的网站从代理过

## 当前支持
| |Windows|Mac OS|Linux|
Expand Down
22 changes: 21 additions & 1 deletion config.json.default
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,27 @@
"cv.phncdn.com": "152.195.33.132",
"cs.phncdn.com": "152.195.33.132",
"di.phncdn.com": "205.185.208.142",
"ev.phncdn.com": "208.99.84.114"
"ev.phncdn.com": "208.99.84.114",
"www.wikipedia.org": "198.35.26.96",
"zh.wikipedia.org": "198.35.26.96",
"en.wikipedia.org": "198.35.26.96",
"ja.wikipedia.org": "198.35.26.96",
"zh-yue.wikipedia.org": "198.35.26.96",
"gan.wikipedia.org": "198.35.26.96",
"wuu.wikipedia.org": "198.35.26.96",
"zh-min-nan.wikipedia.org": "198.35.26.96",
"cdo.wikipedia.org": "198.35.26.96",
"hak.wikipedia.org": "198.35.26.96",
"bo.wikipedia.org": "198.35.26.96",
"ug.wikipedia.org": "198.35.26.96",
"zh-classical.wikipedia.org": "198.35.26.96",
"es.wikipedia.org": "198.35.26.96",
"de.wikipedia.org": "198.35.26.96",
"ru.wikipedia.org": "198.35.26.96",
"fr.wikipedia.org": "198.35.26.96",
"it.wikipedia.org": "198.35.26.96",
"pt.wikipedia.org": "198.35.26.96",
"pl.wikipedia.org": "198.35.26.96"
},
"hosts_ipv6": {},
"content_fix": {
Expand Down
5 changes: 2 additions & 3 deletions template/pac
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ var domains = {
"pornhub.com": 1,
"phncdn.com": 1,
"artstation.com": 1,
"vimeo.com": 1
"vimeo.com": 1,
"wikipedia.org": 1
};

var shexps = {
"*://zh.wikipedia.org/*": 1,
"*://ja.wikipedia.org/*": 1,
"*://steamcommunity-a.akamaihd.net/*": 1,
"*://steamuserimages-a.akamaihd.net/*": 1,
"*://*.amazon.co.jp/*": 1,
Expand Down

1 comment on commit 1a9a85d

@onelizi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot,buddy :)

Please sign in to comment.