refactor: added route impls and minor changes
This commit is contained in:
parent
dc6818e1e2
commit
e2b400fb12
2 changed files with 14 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ func (s *Service) Serve() error {
|
|||
// 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/plugin", s.Upload())
|
||||
router.Post("/upload/profile", s.Upload())
|
||||
router.Post("/upload/plugin", s.UploadPlugin())
|
||||
router.Post("/upload/profile", s.UploadProfile())
|
||||
router.Get("/list/*", s.List())
|
||||
|
||||
// profiles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue