Skip to content

Commit

Permalink
fix: formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Mar 1, 2024
1 parent c0cf2c0 commit 24dc148
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24dc148

Please sign in to comment.