diff --git a/server.go b/server.go index 1e355e9..569ad3c 100644 --- a/server.go +++ b/server.go @@ -25,7 +25,7 @@ func viewHandler(root string, w http.ResponseWriter, r *http.Request) { } func Serve(root string) { - address := "0.0.0.0:8000" + address := "127.0.0.1:8000" fmt.Println("Serving " + root + " at http://" + address + " ...") fmt.Println("Use Ctrl+C to exit") fmt.Println("(This is not a production web server, don't get any funny ideas)")