fixed missing typo
authorMauro Scomparin <scompo@gmail.com>
Wed, 26 Feb 2020 20:51:35 +0000 (21:51 +0100)
committerMauro Scomparin <scompo@gmail.com>
Wed, 26 Feb 2020 20:51:35 +0000 (21:51 +0100)
server.go

index 2d972e109232b410bed14d763e0edd279c54bc0e..535e952d4da5f328173e28984eab3633476eca02 100644 (file)
--- 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)
 }