aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/anubis/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/anubis/main.go b/cmd/anubis/main.go
index f3fa06b..c3fdbad 100644
--- a/cmd/anubis/main.go
+++ b/cmd/anubis/main.go
@@ -84,7 +84,7 @@ func main() {
mux := http.NewServeMux()
- mux.Handle(staticPath, http.StripPrefix(staticPath, http.FileServerFS(static)))
+ mux.Handle(staticPath, internal.UnchangingCache(http.StripPrefix(staticPath, http.FileServerFS(static))))
xess.Mount(mux)
mux.HandleFunc("POST /.within.website/x/cmd/anubis/api/make-challenge", s.makeChallenge)