diff options
| author | Marius Peter <marius.peter@tutanota.com> | 2025-01-26 19:20:33 +0100 | 
|---|---|---|
| committer | Marius Peter <marius.peter@tutanota.com> | 2025-01-26 19:20:33 +0100 | 
| commit | 19875b1503f6e890975e50bdd88853b6e4d0caf4 (patch) | |
| tree | 35bf7b841dd04cb7b71e0fd34184a0518dad3c84 | |
| parent | 58e910f355589f48150f16f264b5014956718548 (diff) | |
Finish off the week-end with this silly little commit.
| -rw-r--r-- | bin/main.ml | 4 | ||||
| -rw-r--r-- | lib/handlers/dune | 2 | 
2 files changed, 3 insertions, 3 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; *)         ] diff --git a/lib/handlers/dune b/lib/handlers/dune index 46816f1..4bae840 100644 --- a/lib/handlers/dune +++ b/lib/handlers/dune @@ -1,4 +1,4 @@  (library   (name handlers)   (public_name ogit.handlers) - (libraries dream helpers views)) + (libraries dream views)) | 
