Skip to content

Commit

Permalink
add missing post
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt committed Feb 8, 2019
1 parent f589f79 commit d456bfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ func (s *Server) loadHandler() error {
rtr.Use(cefMiddleware.Middleware)
}
apiRtr := rtr.PathPrefix("/states").Subrouter()
apiRtr.HandleFunc("/{name}", controller.Store).Methods("POST")
apiRtr.HandleFunc("/{name}", controller.Retrieve).Methods("GET")
apiRtr.HandleFunc("/{name}", controller.Delete).Methods("DELETE")
apiRtr.HandleFunc("/{name}", controller.Lock).Methods("LOCK")
Expand Down

0 comments on commit d456bfe

Please sign in to comment.