Add download button for pathbuilders

This commit is contained in:
Tom Wiesing 2022-09-20 15:24:04 +02:00
parent 8b3218ad00
commit 9f5ca27f55
No known key found for this signature in database
4 changed files with 87 additions and 30 deletions

View file

@ -15,8 +15,8 @@ type Info struct {
LastRebuild time.Time
Running bool // is the instance running?
Pathbuilders []string // list of pathbuilders
Running bool // is the instance running?
Pathbuilders map[string]string // list of pathbuilders
}
// Info returns information about this WissKI instance.
@ -39,7 +39,7 @@ func (wisski *WissKI) Info(quick bool) (info Info, err error) {
// these might execute php code or require additional database queries.
if !quick {
group.Go(func() error {
info.Pathbuilders, _ = wisski.Pathbuilders()
info.Pathbuilders, _ = wisski.AllPathbuilders()
return nil
})
group.Go(func() (err error) {