fix a part of #67
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) {
|
Next: middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Request) (int, error) {
|
||||||
return 404, nil
|
return 404, nil
|
||||||
}),
|
}),
|
||||||
Root: conf.Path,
|
|
||||||
Configs: []browse.Config{
|
Configs: []browse.Config{
|
||||||
{
|
{
|
||||||
PathScope: "/",
|
PathScope: "/",
|
||||||
|
Root: conf.Path,
|
||||||
Variables: conf,
|
Variables: conf,
|
||||||
Template: tpl,
|
Template: tpl,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue