From 6b465462acb32e21a55623d906dd338983131b2d Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Sat, 1 Jun 2019 00:26:53 +0200 Subject: [PATCH] Fix bug in browse-git example. Trailing '/' in selector was not for burrower, it was for git! --- examples/browse-git.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/browse-git.scm b/examples/browse-git.scm index a5d9e7f..f9cd019 100755 --- a/examples/browse-git.scm +++ b/examples/browse-git.scm @@ -55,7 +55,8 @@ (list (if (eq? type 'tree) 1 0) file (conc "browse-git.scm|" type "|" repo "|" branch "|" - file-path)))) + file-path + (if (eq? type 'tree) "/" ""))))) entries)))) (define (serve-blob) -- 2.20.1