Browse Source

rm http-proxy

DIYgod 8 years ago
parent
commit
e97090fcc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nodejs/routes/video-bilibili.js

+ 1 - 1
nodejs/routes/video-bilibili.js

@@ -18,7 +18,7 @@ function getData(cid, res, type) {
     else {
     else {
         fetch(api, {
         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'},
             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(
         }).then(
             response => response.text()
             response => response.text()
         ).then((data) => {
         ).then((data) => {