From 24dc148fc27ed22dacec84be16806c77935a814c Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 1 Mar 2024 09:43:38 -0300 Subject: [PATCH] fix: formatter --- server/http.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/http.go b/server/http.go index c58187d..9882ea8 100644 --- a/server/http.go +++ b/server/http.go @@ -97,15 +97,15 @@ 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) mux.HandleFunc(pat.Post("/v1/seq/:name"), s.handlePostSeq) - mux.HandleFunc(pat.Get("/ v1 / news"), s.handleGetNewsList) + mux.HandleFunc(pat.Get("/v1/news"), s.handleGetNewsList) mux.HandleFunc(pat.Get("/v1/news/:id"), s.handleGetNews) - mux.HandleFunc(pat.Get("/ v1 / public / jwks"), s.handleJWKS) - mux.HandleFunc(pat.Get("/.well - known / openid - configuration"), s.handleOpenIDConfig) + mux.HandleFunc(pat.Get("/v1/public/jwks"), s.handleJWKS) + mux.HandleFunc(pat.Get("/.well-known/openid-configuration"), s.handleOpenIDConfig) s.db = cfg.DB s.fstore = cfg.FileStore return s, nil