Fix #773 - preparing the new update channel

This commit is contained in:
Andrey Meshkov
2019-06-06 03:00:15 +03:00
parent 86ba6d4332
commit 3958330560
5 changed files with 48 additions and 34 deletions

View File

@@ -31,9 +31,6 @@ var versionCheckLastTime time.Time
var protocols = []string{"tls://", "https://", "tcp://", "sdns://"}
const versionCheckURL = "https://adguardteam.github.io/AdGuardHome/version.json"
const versionCheckPeriod = time.Hour * 8
var transport = &http.Transport{
DialContext: customDialContext,
}