mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
- /control/version.json: don't show error message if auto-update is disabled
This commit is contained in:
parent
67a3d44b8c
commit
5bcd1545a8
@ -59,7 +59,6 @@ type getVersionJSONRequest struct {
|
||||
func handleGetVersionJSON(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if config.disableUpdate {
|
||||
httpError(w, http.StatusInternalServerError, "New app version check is disabled by user")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user