Update setup.go

This commit is contained in:
Alex Eftimie
2021-05-27 07:27:13 +02:00
committed by GitHub
parent 943a308afe
commit a3a361ad10

View File

@@ -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
} }