Actually use conf.bind
git-svn-id: file:///srv/svn/repo/marisa/trunk@25 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
parent
242b0f76e9
commit
1e8f4cc406
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user