diff options
| author | unwox <me@unwox.com> | 2024-06-05 23:40:42 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-06-05 23:40:42 +0600 |
| commit | 2012809dc4a4692456d811c9b3f0293c54f4320b (patch) | |
| tree | 40b06ee0ea47ab4793df6f25a75cfc151d4da23a /init.fnl | |
init
Diffstat (limited to 'init.fnl')
| -rw-r--r-- | init.fnl | 9 |
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?") + } +} |
