Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
reruin committed May 23, 2020
1 parent b74ab06 commit 5a645c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const headers = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36'
}

const PROXY_URL = ''//'http://127.0.0.1:1080'
const PROXY_URL = ''//http://127.0.0.1:1080'
const http = (opts, ...rest) => {
if (PROXY_URL) opts.proxy = PROXY_URL
if (opts.async) {
Expand Down Expand Up @@ -98,4 +98,4 @@ http.post = (url, form, opts) => {
})
}

module.exports = http
module.exports = http

0 comments on commit 5a645c0

Please sign in to comment.