Explorar o código

listen on all ips

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
bf64c449de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/distro/debug/debug.go

+ 1 - 1
main/distro/debug/debug.go

@@ -5,6 +5,6 @@ import "net/http"
 
 func init() {
 	go func() {
-		http.ListenAndServe("localhost:6060", nil)
+		http.ListenAndServe(":6060", nil)
 	}()
 }