partage

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

commit b23d1149f4cae552d6ded2fcecae44c371e4d5a0
parent fa4ac607485696882576db69ad398e4939de2dc8
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 19 Oct 2021 08:51:37 +0200

Actually use conf.bind

Diffstat:
Mpartage.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/partage.go b/partage.go @@ -229,5 +229,5 @@ func main() { http.HandleFunc("/", uploader) http.Handle(conf.filectx, http.StripPrefix(conf.filectx, http.FileServer(http.Dir(conf.filepath)))) - http.ListenAndServe("0.0.0.0:8080", nil) + http.ListenAndServe(conf.bind, nil) }