summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-07 16:00:07 -0400
committerdemo <demo@antix1>2026-05-07 16:00:07 -0400
commit526ae6edc7675ccab41f7b854cc277088f02e0ab (patch)
treedc5dd923d1127a8ae4bff972c02f49927beb1265 /main.go
parent5aecda4a8006c74e8c912d937fb9b282630bb883 (diff)
feat: add some demo CSS
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))
}