diff options
author | Peter De Wachter <pdewacht@gmail.com> | 2019-08-15 09:48:07 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-08-15 21:58:01 -0700 |
commit | d882bbca85b801ed408644800364ec0a5bdcffd4 (patch) | |
tree | 08f4c52970b13d6ca6ce23a694174ed61ada1d2e /ui/ui.go | |
parent | ac45307da63186fea074e8a5573af6d0dad0fd26 (diff) |
Import OPML from URL
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -112,6 +112,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool, feedHa uiRouter.HandleFunc("/export", handler.exportFeeds).Name("export").Methods("GET") uiRouter.HandleFunc("/import", handler.showImportPage).Name("import").Methods("GET") uiRouter.HandleFunc("/upload", handler.uploadOPML).Name("uploadOPML").Methods("POST") + uiRouter.HandleFunc("/fetch", handler.fetchOPML).Name("fetchOPML").Methods("POST") // OAuth2 flow. uiRouter.HandleFunc("/oauth2/{provider}/unlink", handler.oauth2Unlink).Name("oauth2Unlink").Methods("GET") |