partage

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/partage.git
Log | Files | Refs | README | LICENSE

commit d4af4d6a0ba8e52efe53cf715ee52e62a751e6dd
parent 37da75033a0a9d517cfa5fe4ec2cc7abe354431c
Author: Willy Goiffon <dev@z3bra.org>
Date:   Wed, 20 Oct 2021 10:35:13 +0200

Provide default values usable for testing

Diffstat:
Mpartage.go | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/partage.go b/partage.go @@ -299,10 +299,10 @@ func main() { /* default values */ conf.bind = "0.0.0.0:8080" conf.baseuri = "http://127.0.0.1:8080" - conf.rootdir = "/htdocs" - conf.tmplpath = "/htdocs/templates" - conf.filepath = "/htdocs/files" - conf.metapath = "/htdocs/meta" + conf.rootdir = "static" + conf.tmplpath = "templates" + conf.filepath = "files" + conf.metapath = "meta" conf.filectx = "/f/" conf.metactx = "/m/" conf.maxsize = 34359738368