diff options
Diffstat (limited to 'bin/serve.fnl')
| -rw-r--r-- | bin/serve.fnl | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
