mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
switch to server-side readability
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
Reference in New Issue
Block a user