summaryrefslogtreecommitdiff
path: root/init.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-09-27 15:30:38 +0600
committerunwox <me@unwox.com>2024-09-27 15:30:54 +0600
commit103bd082143565adae273e23e46e8067431eea22 (patch)
tree2ffc83727be6164cd41546cc20502485a2f9f9cd /init.fnl
parentd1cd901365859db3183667a992da4a9dcf90f6e0 (diff)
remove lua and fennel related files
Diffstat (limited to 'init.fnl')
-rw-r--r--init.fnl17
1 files changed, 0 insertions, 17 deletions
diff --git a/init.fnl b/init.fnl
deleted file mode 100644
index 0f89ad3..0000000
--- a/init.fnl
+++ /dev/null
@@ -1,17 +0,0 @@
-(local fennel (require :fennel))
-(local html (require :html))
-
-(local template
- [:html {:lang "en"}
- [:head {}
- [:meta {:charset "UTF-8"}]
- [:title {} "A new cool web server for lua"]]
- [:body {}
- [:h1 {} "Hello!"]
- [:pre {} "This is my super blog!"]]])
-
-(fn root-handler [method path headers body]
- (let [headers { :content-type "text/html" }]
- (values 200 headers (html.render template))))
-
-(luna.router.route "/" root-handler)