mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 19:22:57 +00:00
fix a part of #67
This commit is contained in:
parent
ce1dcdc947
commit
f530e901c8
@ -29,10 +29,10 @@ func GET(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
Next: middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||
return 404, nil
|
||||
}),
|
||||
Root: conf.Path,
|
||||
Configs: []browse.Config{
|
||||
{
|
||||
PathScope: "/",
|
||||
Root: conf.Path,
|
||||
Variables: conf,
|
||||
Template: tpl,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user