Added rout for pdf list

This commit is contained in:
Jason Streifling 2024-08-17 20:41:39 +02:00
parent 64f85a34cb
commit f4ae2f9c04

View File

@ -55,6 +55,7 @@ func main() {
mux.HandleFunc("GET /delete-user/{id}", f.DeleteUser(config, db, store))
mux.HandleFunc("GET /hub", f.ShowHub(config, db, store))
mux.HandleFunc("GET /logout", f.Logout(config, store))
mux.HandleFunc("GET /pdf/get-list", f.ServePDFList(config))
mux.HandleFunc("GET /pics/{pic}", f.ServeImage(config, store))
mux.HandleFunc("GET /publish-article/{id}", f.PublishArticle(config, db, store))
mux.HandleFunc("GET /publish-issue", f.PublishLatestIssue(config, db, store))