Uncomment all the things you need.

This commit is contained in:
Josh Mudge 2019-11-12 15:55:19 -07:00
parent 729f908dea
commit 14ca896bf8
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ package main
import (
"flag"
//"log"
"log"
"net/http"
)
@ -24,6 +24,6 @@ func main() {
http.Handle("/", http.FileServer(http.Dir(*directory)))
//log.Printf("Serving %s on HTTP port: %s\n", *directory, *port)
//log.Fatal(http.ListenAndServe(":"+*port, nil))
log.Printf("Serving %s on HTTP port: %s\n", *directory, *port)
log.Fatal(http.ListenAndServe(":"+*port, nil))
}