Actually use conf.bind

git-svn-id: file:///srv/svn/repo/marisa/trunk@25 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev 2021-10-19 06:51:37 +00:00
parent 242b0f76e9
commit 1e8f4cc406

View File

@ -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)
}