mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add public endpoint to expose images
This commit is contained in:
parent
7fbcb2904a
commit
387acc5f63
9 changed files with 177 additions and 36 deletions
|
@ -107,8 +107,6 @@ func getCredentialsFromBody(r *http.Request) (username string, password string,
|
|||
}
|
||||
|
||||
func createAdmin(ds model.DataStore) func(w http.ResponseWriter, r *http.Request) {
|
||||
auth.Init(ds)
|
||||
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
username, password, err := getCredentialsFromBody(r)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue