Skip to content

Commit 6e77a1b

Browse files
authored
Update 10010.js
1 parent 626604e commit 6e77a1b

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

10010/10010.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,14 @@ function init() {
221221
}
222222
log = (message) => console.log(message)
223223
get = (url, cb) => {
224-
console.log(url)
225-
console.log(url['headers'])
226-
if (url.hasOwnProperty['headers']) {
227-
// delete url['headers']['Content-Length']
228-
// if (url.hasOwnProperty['headers'] && url['headers'].hasOwnProperty('Content-Length'))
229-
console.log("66666666666")
230-
}
224+
// console.log(url)
225+
url = JSON.parse(url)
226+
console.log(url['url'])
227+
// if (url.hasOwnProperty['headers']) {
228+
// // delete url['headers']['Content-Length']
229+
// // if (url.hasOwnProperty['headers'] && url['headers'].hasOwnProperty('Content-Length'))
230+
// console.log("66666666666")
231+
// }
231232
if (isSurge()) {
232233
$httpClient.get(url, cb)
233234
}

0 commit comments

Comments
 (0)