We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 626604e commit 6e77a1bCopy full SHA for 6e77a1b
1 file changed
10010/10010.js
@@ -221,13 +221,14 @@ function init() {
221
}
222
log = (message) => console.log(message)
223
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
- }
+ // console.log(url)
+ url = JSON.parse(url)
+ console.log(url['url'])
+ // if (url.hasOwnProperty['headers']) {
+ // // delete url['headers']['Content-Length']
+ // // if (url.hasOwnProperty['headers'] && url['headers'].hasOwnProperty('Content-Length'))
+ // console.log("66666666666")
231
+ // }
232
if (isSurge()) {
233
$httpClient.get(url, cb)
234
0 commit comments