fix: fixed address reload on api.rest

This commit is contained in:
Simone Margaritelli 2024-08-28 16:14:23 +02:00
parent 00c5b2c9c6
commit b2035daf54

View file

@ -230,6 +230,7 @@ func (mod *RestAPI) Configure() error {
}
}
mod.server = &http.Server{}
mod.server.Addr = fmt.Sprintf("%s:%d", ip, port)
router := mux.NewRouter()