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, },