diff options
| author | unwox <me@unwox.com> | 2025-09-08 15:35:44 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-09-08 15:42:13 +0600 |
| commit | 9470b10bdd9e1cc166a4b9ddfbdf09d1c4818ae8 (patch) | |
| tree | d7d76f00078ea8abd9cac0fc43a66e53d2d81dde /bin/serve.fnl | |
| parent | 43a3ad32f9a17b23f211f61c28e37296ac4447f9 (diff) | |
update according to changes in luna
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 |
