mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 11:40:33 -07:00
fix: fixed address reload on api.rest
This commit is contained in:
parent
00c5b2c9c6
commit
b2035daf54
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ func (mod *RestAPI) Configure() error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mod.server = &http.Server{}
|
||||||
mod.server.Addr = fmt.Sprintf("%s:%d", ip, port)
|
mod.server.Addr = fmt.Sprintf("%s:%d", ip, port)
|
||||||
|
|
||||||
router := mux.NewRouter()
|
router := mux.NewRouter()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue