refactor: removed unused code and added routes

This commit is contained in:
David Allen 2025-08-29 18:23:00 -06:00
parent b18746957d
commit 08a9b9bdcf
Signed by: towk
GPG key ID: 0430CDBE22619155
2 changed files with 3 additions and 16 deletions

View file

@ -99,7 +99,9 @@ func (s *Service) Serve() error {
// general
// router.Handle("/download/*", http.StripPrefix("/download/", http.FileServer(http.Dir(s.PathForData()))))
router.Get("/download/*", s.Download())
router.Post("/upload", s.Upload())
router.Post("/upload/", s.Upload())
router.Post("/upload/plugin", s.Upload())
router.Post("/upload/profile", s.Upload())
router.Get("/list/*", s.List())
// profiles