diff --git a/main.go b/main.go index 885039b..f45c9a1 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( func main() { port := flag.String("p", "8100", "port to serve on") - directory := flag.String("d", ".", "the directory of static file to host") + directory := flag.String("d", "data", "the directory of static file to host") flag.Parse() http.Handle("/", http.FileServer(http.Dir(*directory)))