From a29307300c78de947b4548eb33b1408cd798d3cc Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 1 Mar 2024 09:44:18 -0300 Subject: [PATCH] fix: typo --- server/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/http.go b/server/http.go index 9882ea8..20f9c21 100644 --- a/server/http.go +++ b/server/http.go @@ -97,7 +97,7 @@ func NewHTTPServer(cfg *Config) (*HTTPServer, error) { mux.HandleFunc(pat.Get("/v1/bio/:name"), s.handleGetUser) mux.HandleFunc(pat.Post("/v1/bio"), s.handlePostUser) mux.HandleFunc(pat.Post("/v1/encrypt-key"), s.handlePostEncryptKey) - mux.HandleFunc(pat.Get("/v1/fs*"), s.handleGetFile) + mux.HandleFunc(pat.Get("/v1/fs/*"), s.handleGetFile) mux.HandleFunc(pat.Post("/v1/fs/*"), s.handlePostFile) mux.HandleFunc(pat.Delete("/v1/fs/*"), s.handleDeleteFile) mux.HandleFunc(pat.Get("/v1/seq/:name"), s.handleGetSeq)