Browse Source

Update core.go

wibyweb 1 year ago
parent
commit
5ecdb28378
1 changed files with 1 additions and 1 deletions
  1. 1 1
      go/core/core.go

+ 1 - 1
go/core/core.go

@@ -36,7 +36,7 @@ func main() {
 	http.HandleFunc("/surprise/", surprise)
 	http.HandleFunc("/surprise/", surprise)
 	http.HandleFunc("/settings/", settings)
 	http.HandleFunc("/settings/", settings)
 	http.HandleFunc("/settings", settings)
 	http.HandleFunc("/settings", settings)
-	log.Fatal(http.ListenAndServe("0.0.0.0:8080", nil)) //set IP to 127.0.0.1 if reverse proxy is on the same machine
+	log.Fatal(http.ListenAndServe("0.0.0.0:8080", nil)) //set IP to localhost if reverse proxy is on the same machine
 }
 }
 
 
 //https://golang.org/pkg/net/http/#Request
 //https://golang.org/pkg/net/http/#Request