switch to server-side readability
This commit is contained in:
parent
a83d43a5b1
commit
485587825c
4 changed files with 29 additions and 23 deletions
|
|
@ -102,9 +102,7 @@
|
|||
return api('post', './logout')
|
||||
},
|
||||
crawl: function(url) {
|
||||
return xfetch('./page?url=' + url).then(function(res) {
|
||||
return res.text()
|
||||
})
|
||||
return api('post', './page?url=' + url).then(json)
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue