change default listen port to match docs

This commit is contained in:
sentriz
2019-11-24 03:28:30 +00:00
parent fe0c27e3e9
commit 3b240fccb0

View File

@@ -20,7 +20,7 @@ const (
func main() {
set := flag.NewFlagSet(programName, flag.ExitOnError)
listenAddr := set.String("listen-addr", "0.0.0.0:6969", "listen address (optional)")
listenAddr := set.String("listen-addr", "0.0.0.0:4747", "listen address (optional)")
musicPath := set.String("music-path", "", "path to music")
dbPath := set.String("db-path", "gonic.db", "path to database (optional)")
scanInterval := set.Int("scan-interval", 0, "interval (in minutes) to automatically scan music (optional)")