mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 05:27:37 +03:00
Allow any HTTP methods for public images endpoint. Fix artist covers in Subtracks
This commit is contained in:
parent
16c869ec86
commit
dfbf86c577
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ func (p *Router) routes() http.Handler {
|
|||
|
||||
r.Group(func(r chi.Router) {
|
||||
r.Use(server.URLParamsMiddleware)
|
||||
r.Get("/img/{id}", p.handleImages)
|
||||
r.HandleFunc("/img/{id}", p.handleImages)
|
||||
})
|
||||
return r
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue