tProvide default values usable for testing - partage - File upload system
(HTM) git clone git://git.z3bra.org/partage.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d4af4d6a0ba8e52efe53cf715ee52e62a751e6dd
(DIR) parent 37da75033a0a9d517cfa5fe4ec2cc7abe354431c
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 20 Oct 2021 10:35:13 +0200
Provide default values usable for testing
Diffstat:
M partage.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/partage.go b/partage.go
t@@ -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