logout
This commit is contained in:
parent
e8a002d535
commit
6a828532cb
4 changed files with 23 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue