mirror of
https://github.com/bettercap/bettercap
synced 2025-08-13 02:06:57 -07:00
fix: fixed wrong variable name in http.server module.
This commit is contained in:
parent
94542d6be2
commit
c2e845d9d4
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func (httpd *HttpServer) Configure() error {
|
||||||
|
|
||||||
http.Handle("/", http.FileServer(http.Dir(path)))
|
http.Handle("/", http.FileServer(http.Dir(path)))
|
||||||
|
|
||||||
if err, address = httpd.StringParam("http.server.addr"); err != nil {
|
if err, address = httpd.StringParam("http.server.address"); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue