mirror of https://github.com/statping/statping
routing permissions
parent
e7e8852aee
commit
48f5a88253
|
@ -107,7 +107,7 @@ func Router() *mux.Router {
|
||||||
// SERVICE Routes
|
// SERVICE Routes
|
||||||
r.Handle("/services", authenticated(servicesHandler, true)).Methods("GET")
|
r.Handle("/services", authenticated(servicesHandler, true)).Methods("GET")
|
||||||
r.Handle("/service/create", authenticated(createServiceHandler, true)).Methods("GET")
|
r.Handle("/service/create", authenticated(createServiceHandler, true)).Methods("GET")
|
||||||
r.Handle("/service/{id}", readOnly(servicesViewHandler, true)).Methods("GET")
|
r.Handle("/service/{id}", http.HandlerFunc(servicesViewHandler)).Methods("GET")
|
||||||
r.Handle("/service/{id}/edit", authenticated(servicesViewHandler, true)).Methods("GET")
|
r.Handle("/service/{id}/edit", authenticated(servicesViewHandler, true)).Methods("GET")
|
||||||
r.Handle("/service/{id}/delete_failures", authenticated(servicesDeleteFailuresHandler, true)).Methods("GET")
|
r.Handle("/service/{id}/delete_failures", authenticated(servicesDeleteFailuresHandler, true)).Methods("GET")
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.80.70
|
0.80.71
|
||||||
|
|
Loading…
Reference in New Issue