Explorar o código

Listen on all interfaces

Svilen Markov hai 7 meses
pai
achega
2dce9b4c48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/glance/main.go

+ 1 - 1
internal/glance/main.go

@@ -163,7 +163,7 @@ func serveUpdateNoticeIfConfigLocationNotMigrated(configPath string) bool {
 	})
 
 	server := http.Server{
-		Addr:    "localhost:8080",
+		Addr:    ":8080",
 		Handler: mux,
 	}
 	server.ListenAndServe()