summaryrefslogtreecommitdiff
path: root/lib/handlers.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlers.ml')
-rw-r--r--lib/handlers.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/handlers.ml b/lib/handlers.ml
new file mode 100644
index 0000000..1f6d920
--- /dev/null
+++ b/lib/handlers.ml
@@ -0,0 +1,4 @@
+let ogit_root _ = Dream_html.respond @@ Views.Ogit_root.render ()
+
+let repo_root repo_name =
+ Dream_html.respond @@ Lwt_main.run @@ Views.Repo_root.render repo_name
Copyright 2019--2025 Marius PETER