mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 21:47:36 +03:00
Rename DevEnableShare
to EnableSharing
This commit is contained in:
parent
a651d65a5b
commit
68e6115789
14 changed files with 18 additions and 18 deletions
|
@ -45,7 +45,7 @@ func (n *Router) routes() http.Handler {
|
|||
n.R(r, "/playlist", model.Playlist{}, true)
|
||||
n.R(r, "/transcoding", model.Transcoding{}, conf.Server.EnableTranscodingConfig)
|
||||
n.R(r, "/radio", model.Radio{}, true)
|
||||
if conf.Server.DevEnableShare {
|
||||
if conf.Server.EnableSharing {
|
||||
n.RX(r, "/share", n.share.NewRepository, true)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue