mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-16 11:04:15 +00:00
Update setup.go
This commit is contained in:
parent
943a308afe
commit
a3a361ad10
@ -203,7 +203,7 @@ func setupTree(c *cli.Context) *httptreemux.ContextMux {
|
|||||||
web.New(
|
web.New(
|
||||||
web.WithDir(c.String("www")),
|
web.WithDir(c.String("www")),
|
||||||
web.WithSync(time.Hour*72),
|
web.WithSync(time.Hour*72),
|
||||||
web.WithDocs(c.String("docs"))
|
web.WithDocs(c.String("docs")),
|
||||||
).Register(tree)
|
).Register(tree)
|
||||||
return tree
|
return tree
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user