summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-01-25 19:24:10 +0100
committerMarius Peter <marius.peter@tutanota.com>2025-01-25 19:24:10 +0100
commit1793a47597d9813812f3715c55e6ec8a923274e6 (patch)
treec7ced7b4b313beed817407ab8807627d4888c166
parentdf57135697ecec1f940f4ce212267814438e0ad7 (diff)
Update main executable.
-rw-r--r--bin/main.ml14
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/main.ml b/bin/main.ml
index 8c49c91..a541f5e 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -1,10 +1,8 @@
-(* ogit: A lightweight, mobile-friendly alternative to cgit *)
-
let () =
- Dream.run
- @@ Dream.logger
- @@ Dream.router [
- Dream.get "/" Handlers.root;
- Dream.get "/:repo_name/" Handlers.repo_root;
- Dream.get "/:repo_name/tree" Handlers.repo_tree;
+ Dream.run @@ Dream.logger
+ @@ Dream.router
+ [
+ Dream.get "/" Handlers.ogit_root;
+ (* Dream.get "/:repo_name/" Handlers.repo_root; *)
+ (* Dream.get "/:repo_name/tree" Handlers.repo_tree; *)
]
Copyright 2019--2025 Marius PETER