From 1e8f4cc406affdc8753a7a0bd625e27bd6b7f852 Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 19 Oct 2021 06:51:37 +0000 Subject: [PATCH] Actually use conf.bind git-svn-id: file:///srv/svn/repo/marisa/trunk@25 d6811dac-2434-b64a-9ddc-f563ab233461 --- partage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partage.go b/partage.go index 7771bae..e465cde 100644 --- 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) }