Sfoglia il codice sorgente

Listen on all interfaces

Svilen Markov 8 mesi fa
parent
commit
2dce9b4c48
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()