mirror of
https://github.com/nkanaev/yarr.git
synced 2025-12-17 01:20:08 +00:00
logout
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user