* move "versionCheckJSON" to "config"

This commit is contained in:
Simon Zolin
2019-07-09 18:40:56 +03:00
parent c426ee0108
commit d3ddfc81a6
3 changed files with 10 additions and 10 deletions

View File

@@ -24,10 +24,6 @@ import (
const updatePeriod = time.Minute * 30
// cached version.json to avoid hammering github.io for each page reload
var versionCheckJSON []byte
var versionCheckLastTime time.Time
var protocols = []string{"tls://", "https://", "tcp://", "sdns://"}
// ----------------