mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add option to change IP address to bind
This commit is contained in:
parent
933052583a
commit
7c3fd38559
2 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
|
||||
type configOptions struct {
|
||||
ConfigFile string
|
||||
Address string
|
||||
Port int
|
||||
MusicFolder string
|
||||
DataFolder string
|
||||
|
@ -66,6 +67,7 @@ func init() {
|
|||
viper.SetDefault("musicfolder", "./music")
|
||||
viper.SetDefault("datafolder", "./")
|
||||
viper.SetDefault("loglevel", "info")
|
||||
viper.SetDefault("address", "0.0.0.0")
|
||||
viper.SetDefault("port", 4533)
|
||||
viper.SetDefault("sessiontimeout", consts.DefaultSessionTimeout)
|
||||
viper.SetDefault("scaninterval", time.Minute)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue