This commit is contained in:
Simon Zolin 2019-07-09 18:52:18 +03:00
parent 2bbd262968
commit b8444ff46a
2 changed files with 1 additions and 2 deletions

View File

@ -150,7 +150,6 @@ type tlsConfig struct {
}
// initialize to default values, will be changed later when reading config or parsing command line
// TODO: Get rid of global variables
var config = configuration{
ourConfigFilename: "AdGuardHome.yaml",
BindPort: 3000,

View File

@ -39,7 +39,7 @@ var (
const versionCheckPeriod = time.Hour * 8
// main is the entry point
// Main is the entry point
func Main(version string, channel string) {
// Init update-related global variables
versionString = version