This commit is contained in:
Nazar Kanaev
2021-02-12 10:31:00 +00:00
parent e8a002d535
commit 6a828532cb
4 changed files with 23 additions and 0 deletions

View File

@@ -92,6 +92,9 @@
body: new FormData(form),
})
},
logout: function() {
return api('post', './logout')
},
crawl: function(url) {
return fetch('./page?url=' + url).then(function(res) {
return res.text()