all: upd urls

This commit is contained in:
Ainar Garipov
2022-07-28 18:35:26 +03:00
parent 07d48af10c
commit 931d61bd9e
13 changed files with 75 additions and 73 deletions

View File

@@ -82,8 +82,9 @@ type Config struct {
func NewUpdater(conf *Config) *Updater {
u := &url.URL{
Scheme: "https",
Host: "static.adguard.com",
Path: path.Join("adguardhome", conf.Channel, "version.json"),
// TODO(a.garipov): Make configurable.
Host: "static.adtidy.org",
Path: path.Join("adguardhome", conf.Channel, "version.json"),
}
return &Updater{
client: conf.Client,