bugfix: bind to all interfaces by default (needed for Podman/Docker)

This commit is contained in:
Settel 2023-06-04 11:22:49 +02:00
parent 0cd78c5af9
commit 9d4c6916a6

View File

@ -14,7 +14,7 @@ type ApplicationConfig struct {
func NewApplicationConfig() ApplicationConfig {
flagVerbosePtr := flag.Bool("v", false, "log debug messages, too")
flagQuietPtr := flag.Bool("q", false, "be quiet; warning and error messages only")
bindStringPtr := flag.String("b", "localhost:32039", "interface and port to bind to")
bindStringPtr := flag.String("b", ":32039", "interface and port to bind to")
flag.Parse()
log.SetLoglevel(log.LOG_INFO)