From da879c1aff64c1fe528a9438b40872806f1d73b8 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 26 Apr 2016 20:21:07 +0100 Subject: [PATCH] update for #67 --- routes/browse/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/browse/get.go b/routes/browse/get.go index 73d31108..130d7ea6 100644 --- a/routes/browse/get.go +++ b/routes/browse/get.go @@ -32,7 +32,7 @@ func GET(w http.ResponseWriter, r *http.Request) (int, error) { Configs: []browse.Config{ { PathScope: "/", - Root: conf.Path, + Root: http.Dir(conf.Path), Variables: conf, Template: tpl, },