mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-14 10:20:06 +00:00
opml file import/export handlers
This commit is contained in:
@@ -74,5 +74,11 @@
|
||||
return api('put', '/api/settings', data)
|
||||
},
|
||||
},
|
||||
upload_opml: function(form) {
|
||||
return fetch('/opml/import', {
|
||||
method: 'post',
|
||||
body: new FormData(form),
|
||||
})
|
||||
},
|
||||
}
|
||||
})()
|
||||
|
Reference in New Issue
Block a user