Skip to content

Commit

Permalink
rm http-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Dec 9, 2016
1 parent 80ce022 commit e97090f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs/routes/video-bilibili.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getData(cid, res, type) {
else {
fetch(api, {
headers: {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36'},
agent: new HttpProxyAgent('http://183.61.236.54:3128/')
// agent: new HttpProxyAgent('http://183.61.236.54:3128/')
}).then(
response => response.text()
).then((data) => {
Expand Down

0 comments on commit e97090f

Please sign in to comment.