Skip to content

Commit 5cb9fde

Browse files
authored
Update 10010.js
1 parent fbb279a commit 5cb9fde

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

10010/10010.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function init() {
221221
}
222222
log = (message) => console.log(message)
223223
get = (url, cb) => {
224-
console.log(url)
224+
225225
if (url['headers'].hasOwnProperty('Content-Length')) delete url['headers']['Content-Length']
226226
if (isSurge()) {
227227
$httpClient.get(url, cb)
@@ -230,6 +230,7 @@ function init() {
230230
url.method = 'GET'
231231
$task.fetch(url).then((resp) => cb(null, resp, resp.body))
232232
}
233+
console.log(url)
233234
}
234235
post = (url, cb) => {
235236
if (url['headers'].hasOwnProperty('Content-Length')) delete url['headers']['Content-Length']

0 commit comments

Comments
 (0)