Reload job in ui

This commit is contained in:
bel
2020-03-15 23:04:48 +00:00
parent 0971908da7
commit fd71221cbf
12 changed files with 275 additions and 93 deletions

View File

@@ -12,6 +12,10 @@ func (s *Server) Routes() error {
path string
handler http.HandlerFunc
}{
{
path: fmt.Sprintf("/api/job/get/%s", router.Wildcard),
handler: s.gzip(s.authenticate(s.get)),
},
{
path: fmt.Sprintf("/api/job/upsert"),
handler: s.gzip(s.authenticate(s.upsert)),