Fix button for uploading OPML

This commit is contained in:
Joakim Hellsén 2024-02-05 06:00:17 +01:00
commit 4cab55c211
6 changed files with 277 additions and 14 deletions

View file

@ -53,6 +53,7 @@ func main() {
r.Get("/api", ApiHandler)
r.Get("/feeds", FeedsHandler)
r.Post("/add", AddFeedHandler)
r.Post("/upload_opml", UploadOpmlHandler)
log.Println("Listening on http://localhost:8000/ <Ctrl-C> to stop")
http.ListenAndServe("127.0.0.1:8000", r)