diff --git a/http/http.go b/http/http.go index 3cf67035..f7d6be16 100644 --- a/http/http.go +++ b/http/http.go @@ -57,6 +57,7 @@ func NewHandler(storage *storage.Storage, server *settings.Server) (http.Handler api.Handle("/settings", monkey(settingsGetHandler, "")).Methods("GET") api.Handle("/settings", monkey(settingsPutHandler, "")).Methods("PUT") + api.Handle("/context", monkey(contextGetHandler, "")).Methods("GET") api.PathPrefix("/raw").Handler(monkey(rawHandler, "/api/raw")).Methods("GET") api.PathPrefix("/command").Handler(monkey(commandsHandler, "/api/command")).Methods("GET") api.PathPrefix("/search").Handler(monkey(searchHandler, "/api/search")).Methods("GET")