summaryrefslogtreecommitdiff
path: root/init.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'init.fnl')
-rw-r--r--init.fnl9
1 files changed, 9 insertions, 0 deletions
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?")
+ }
+}