switch to server-side readability

This commit is contained in:
Nazar Kanaev
2021-03-29 14:25:49 +01:00
parent a83d43a5b1
commit 485587825c
4 changed files with 29 additions and 23 deletions

View File

@@ -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)
}
}
})()