aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/xesite/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/xesite/main.go b/cmd/xesite/main.go
index 3c0b2af..bf01514 100644
--- a/cmd/xesite/main.go
+++ b/cmd/xesite/main.go
@@ -120,6 +120,7 @@ func main() {
var h http.Handler = mux
h = internal.ClackSet(fs.Clacks()).Middleware(h)
h = internal.CacheHeader(h)
+ h = internal.AcceptEncodingMiddleware(h)
slog.Info("starting server", "bind", *bind)
log.Fatal(http.Serve(ln, h))