summaryrefslogtreecommitdiff
path: root/lib/handlers.ml
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-03-02 19:23:19 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-03-02 19:23:19 +0100
commit55993c4d0857aec8a372aee989aaeef61ea37b3c (patch)
treea6da37b5fda45d80f84251633426dee51db87575 /lib/handlers.ml
parentc67581470cbdf2a1c8efabce78afffb2e3a2a2c6 (diff)
Great work today! 🔥
Diffstat (limited to 'lib/handlers.ml')
-rw-r--r--lib/handlers.ml7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/handlers.ml b/lib/handlers.ml
index 4a6e0ca..46df354 100644
--- a/lib/handlers.ml
+++ b/lib/handlers.ml
@@ -1,6 +1,3 @@
-open Lwt.Infix
-
let ogit_root _ = Views.Ogit_root.render () |> Dream_html.respond
-
-let repo_root repo_name =
- Views.Repo_root.render repo_name >>= Dream_html.respond
+let repo_root repo_name = Views.Repo_root.render repo_name |> Dream_html.respond
+let repo_tree repo_name = Views.Repo_tree.render repo_name |> Dream_html.respond
Copyright 2019--2025 Marius PETER