From 2012809dc4a4692456d811c9b3f0293c54f4320b Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 5 Jun 2024 23:40:42 +0600 Subject: init --- init.fnl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 init.fnl (limited to 'init.fnl') diff --git a/init.fnl b/init.fnl new file mode 100644 index 0000000..f14817e --- /dev/null +++ b/init.fnl @@ -0,0 +1,9 @@ +(local fennel (require :fennel)) +{ + :routes { + :/ (fn [method path headers body] + (values 200 { :content-type "applicaton/json" } + "{ \"test\": 123 }")) + ; :/test (fn [] "test?") + } +} -- cgit v1.2.3