feat(storage): rename snapraid_content to snapraid_conf; clarify conf vs content file; add auto-detect and conf viewer
This commit is contained in:
@@ -92,6 +92,7 @@ func NewRouter(s *Server) chi.Router {
|
||||
storageRouter.Get("/disk-usage", s.handleStorageDiskUsage)
|
||||
storageRouter.Get("/config", s.handleStorageGetConfig)
|
||||
storageRouter.Put("/config", s.handleStorageUpdateConfig)
|
||||
storageRouter.Get("/conf-file", s.handleStorageGetConfFile)
|
||||
storageRouter.Route("/jobs", func(j chi.Router) {
|
||||
j.Get("/", s.handleStorageListJobs)
|
||||
j.Post("/", s.handleStorageStartJob)
|
||||
|
||||
Reference in New Issue
Block a user