You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
fix a part of #67
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user