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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ func setupTree(c *cli.Context) *httptreemux.ContextMux {
web.New(
web.WithDir(c.String("www")),
web.WithSync(time.Hour*72),
web.WithDocs(c.String("docs"))
web.WithDocs(c.String("docs")),
).Register(tree)
return tree
}