From f4ae2f9c04016ad2ac341de5bf4297dd4a8390e1 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sat, 17 Aug 2024 20:41:39 +0200 Subject: [PATCH] Added rout for pdf list --- cmd/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/main.go b/cmd/main.go index a382324..369fcf7 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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))