Pull request: fix beta client bug
Merge in DNS/adguard-home from beta-client-bug to master Squashed commit of the following: commit 641f8b5eb3827e1fd9b15e60773e365206dc1f49 Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon Jan 11 11:54:17 2021 +0300 home: fix beta client bug
This commit is contained in:
parent
ce55625d70
commit
89915e35bd
|
@ -371,11 +371,13 @@ func (web *Web) handleInstallConfigure(w http.ResponseWriter, r *http.Request) {
|
|||
go func() {
|
||||
_ = web.httpServer.Shutdown(context.TODO())
|
||||
}()
|
||||
if web.httpServerBeta != nil {
|
||||
go func() {
|
||||
_ = web.httpServerBeta.Shutdown(context.TODO())
|
||||
}()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (web *Web) registerInstallHandlers() {
|
||||
Context.mux.HandleFunc("/control/install/get_addresses", preInstall(ensureGET(web.handleInstallGetAddresses)))
|
||||
|
|
Loading…
Reference in New Issue