summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/fetch.fnl2
-rw-r--r--bin/serve.fnl3
2 files changed, 1 insertions, 4 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl
index bc7a827..a28af42 100644
--- a/bin/fetch.fnl
+++ b/bin/fetch.fnl
@@ -2,8 +2,6 @@
(tset package :path (.. package.path ";./vendor/lpeglj/?.lua"))
-(local fennel (require :vendor.fennel))
-
(local array (require :lib.array))
(local cache (require :lib.cache))
(local {: must} (require :lib.utils))
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