From 773a8ae87b11157181e2e599b3d3ba99d68af724 Mon Sep 17 00:00:00 2001 From: Dakota Walsh Date: Tue, 21 Mar 2023 14:38:05 +1300 Subject: [PATCH] change default web path --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b8c11a7..c3f05b7 100644 --- a/main.go +++ b/main.go @@ -99,7 +99,7 @@ func (app *application) dir(w http.ResponseWriter, r *http.Request) { func main() { addr := flag.String("addr", ":4000", "HTTP network address") ui := flag.String("ui", "/etc/evids", "Path to css and ui files") - content := flag.String("path", "/var/www/html", "Path to serve") + content := flag.String("path", "/var/www", "Path to serve") flag.Parse() infoLog := log.New(os.Stdout, "INFO ", log.Ldate|log.Ltime) -- 2.45.2