summaryrefslogtreecommitdiff
path: root/lib/handlers.ml
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-02-01 19:24:32 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-02-01 19:24:32 +0100
commit6e8e49ba49beeeb63e1e027fc23e8883a1185109 (patch)
tree6a816fc986c6650959087f88e7fd63997efe003c /lib/handlers.ml
parent19875b1503f6e890975e50bdd88853b6e4d0caf4 (diff)
Reorganized everything.
Thank you DeepSeek!
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