diff --git a/api/server.go b/api/server.go index 6521bf5..43be17e 100644 --- a/api/server.go +++ b/api/server.go @@ -250,6 +250,7 @@ func (s *ApiServer) listen() { r.HandleFunc("/api/blocks", s.BlocksIndex) r.HandleFunc("/api/payments", s.PaymentsIndex) r.HandleFunc("/api/accounts/{login:0x[0-9a-fA-F]{40}}", s.AccountIndex) + r.HandleFunc("/api/settings", s.SubscribeHandler).Methods("POST") r.NotFoundHandler = http.HandlerFunc(notFound) err := http.ListenAndServe(s.config.Listen, r) if err != nil {