From 268c894a8a903b8ad00448077343333366ce6a5e Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Mon, 18 Aug 2025 21:03:57 -0400 Subject: [PATCH] use data dir --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))