4591: Avoid capturing critical exceptions in Websockets server.
[arvados.git] / services / keepproxy / keepproxy.go
index 503642d92d4a09cff94af4c7f09761729ddca7d1..a6019387ef2e79e57994835f27ee23ddcdaf8604 100644 (file)
@@ -248,6 +248,7 @@ func MakeRESTRouter(
                rest.Handle(`/{hash:[0-9a-f]{32}}+{hints}`, PutBlockHandler{kc, t}).Methods("PUT")
                rest.Handle(`/{hash:[0-9a-f]{32}}`, PutBlockHandler{kc, t}).Methods("PUT")
                rest.Handle(`/`, PutBlockHandler{kc, t}).Methods("POST")
+               rest.Handle(`/{any}`, OptionsHandler{}).Methods("OPTIONS")
                rest.Handle(`/`, OptionsHandler{}).Methods("OPTIONS")
        }