diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-04-06 19:24:09 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-04-06 19:24:09 +0200 |
commit | 1ab828cd61c355e8918ce864ba08bb2ba864be2a (patch) | |
tree | fe67f2ea032d020b0bc3e335de39335e7464b7d4 /lib/handlers.ml | |
parent | 4d38a55e52bbb88cacb8c5f5a996c7cdbfcc75bb (diff) |
Start working with utop session stashes...
Hopefully, this will increase developement velocity!
Diffstat (limited to 'lib/handlers.ml')
-rw-r--r-- | lib/handlers.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlers.ml b/lib/handlers.ml index d50eca8..171cef2 100644 --- a/lib/handlers.ml +++ b/lib/handlers.ml @@ -6,7 +6,7 @@ let repo_root req = let repo_tree req = let repo_name = Dream.param req "repo_name" in - let dir_path = Dream.query req "path" |> Option.value ~default:"" in + let dir_path = Dream.target req in Views.Repo_tree.render repo_name dir_path |> Dream_html.respond let repo_blob req = |