refactor: removed unused code and added routes
This commit is contained in:
parent
b18746957d
commit
08a9b9bdcf
2 changed files with 3 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue