From 9470b10bdd9e1cc166a4b9ddfbdf09d1c4818ae8 Mon Sep 17 00:00:00 2001 From: unwox Date: Mon, 8 Sep 2025 15:35:44 +0600 Subject: update according to changes in luna --- bin/serve.fnl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/serve.fnl') diff --git a/bin/serve.fnl b/bin/serve.fnl index 2959e57..036e43d 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -4,7 +4,6 @@ (local array (require :lib.array)) (local cache (require :lib.cache)) -(local fennel (require :vendor.fennel)) (local fs (require :lib.fs)) (local html (require :vendor.html)) (local libhtml (require :lib.html)) @@ -649,7 +648,7 @@ (must (luna.router.route "GET /" root-handler)) (must (luna.router.route "GET /robots.txt" robots-handler)) -(must (luna.router.static "GET /static/" "static/")) +(must (luna.router.static "GET /static/" "static/" "public, max-age=3600")) (must (luna.router.route "GET /track" track-handler)) (when luna.debug -- cgit v1.2.3