From cba8ff3896a59598e9f0aa946fd547002ac23aba Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 23 Jul 2024 23:19:46 +0600 Subject: use luna module instead of returning table for lua->go interaction --- init.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.fnl') diff --git a/init.fnl b/init.fnl index bce021a..0f89ad3 100644 --- a/init.fnl +++ b/init.fnl @@ -14,4 +14,4 @@ (let [headers { :content-type "text/html" }] (values 200 headers (html.render template)))) -{ :routes { :/ root-handler } } +(luna.router.route "/" root-handler) -- cgit v1.2.3