From 86816daab1389991527160a4576a5e04dc3758a7 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Mon, 1 Feb 2021 15:27:33 +0100 Subject: [PATCH] Remove file server --- cmd/lookbuilding/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/lookbuilding/main.go b/cmd/lookbuilding/main.go index 5a4fdb1..2b26c38 100644 --- a/cmd/lookbuilding/main.go +++ b/cmd/lookbuilding/main.go @@ -29,9 +29,6 @@ func main() { fmt.Fprintf(w, "OK") }) - fs := http.FileServer(http.Dir("static/")) - http.Handle("/static/", http.StripPrefix("/static/", fs)) - l.Logger.Infof(`listening on %s`, addr) go worker.Worker()