From: Mauro Scomparin Date: Wed, 26 Feb 2020 20:51:35 +0000 (+0100) Subject: fixed missing typo X-Git-Url: https://git.scompo.it/?a=commitdiff_plain;h=88df954787569699520a843ef37b75f157ced066;p=static-server.git fixed missing typo --- diff --git a/server.go b/server.go index 2d972e1..535e952 100644 --- a/server.go +++ b/server.go @@ -34,7 +34,7 @@ func ReadEnvVar(name string, defaultValue string) string { func main() { port := configuredPort() dir := configuredDir() - log.Println("static-server serving directory: ", dir, " on port: " port) + log.Println("static-server serving directory: ", dir, " on port: ", port) err := http.ListenAndServe(port, http.FileServer(neuteredFileSystem{http.Dir(dir)})) log.Fatal(err) }