small changes and force run for release

This commit is contained in:
bel
2020-03-16 04:50:09 +00:00
parent a8e50d3ce4
commit c35c07f8c3
6 changed files with 86 additions and 4 deletions

View File

@@ -36,6 +36,10 @@ func (s *Server) Routes() error {
path: fmt.Sprintf("/api/job/enable/%s", router.Wildcard),
handler: s.gzip(s.authenticate(s.enable)),
},
{
path: fmt.Sprintf("/api/job/run/%s", router.Wildcard),
handler: s.gzip(s.authenticate(s.run)),
},
{
path: fmt.Sprintf("%s%s", wildcard, wildcard),
handler: s.gzip(s.authenticate(s.static)),