summaryrefslogtreecommitdiff
path: root/bin/main.ml
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-01-26 19:20:33 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-01-26 19:20:33 +0100
commit19875b1503f6e890975e50bdd88853b6e4d0caf4 (patch)
tree35bf7b841dd04cb7b71e0fd34184a0518dad3c84 /bin/main.ml
parent58e910f355589f48150f16f264b5014956718548 (diff)
Finish off the week-end with this silly little commit.
Diffstat (limited to 'bin/main.ml')
-rw-r--r--bin/main.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/main.ml b/bin/main.ml
index a541f5e..7a4341f 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -2,7 +2,7 @@ let () =
Dream.run @@ Dream.logger
@@ Dream.router
[
- Dream.get "/" Handlers.ogit_root;
- (* Dream.get "/:repo_name/" Handlers.repo_root; *)
+ Dream.get "/" @@ Handlers.ogit_root;
+ Dream.get "/:repo_name/" @@ Handlers.repo_root repo;
(* Dream.get "/:repo_name/tree" Handlers.repo_tree; *)
]
Copyright 2019--2025 Marius PETER