summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index f070c9b..5db260b 100644
--- a/main.go
+++ b/main.go
@@ -48,6 +48,7 @@ func main() {
// Set up the handlers and server.
mux := http.NewServeMux()
mux.Handle("/{arc}", &cfg)
+ mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("views/static"))))
log.Fatal(runServer(mux, *port))
}