diff options
author | Jakob Borg <jakob@kastelo.net> | 2023-03-22 22:57:26 +0100 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2023-03-24 09:15:12 +0100 |
commit | 34b312b85be59d77f87efc3f1afa2d90c8a9ab04 (patch) | |
tree | 9d96c4c444f913640f51192cdb5aa1a5798193a2 | |
parent | be3751ab5fa679938330f747475d08e3208679d5 (diff) |
lib/ur: Fix custom releases URL comparison
-rw-r--r-- | lib/ur/usage_report.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/usage_report.go b/lib/ur/usage_report.go index 4e0671e640..9b5cccddf2 100644 --- a/lib/ur/usage_report.go +++ b/lib/ur/usage_report.go @@ -224,7 +224,7 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) ( report.TemporariesDisabled = opts.KeepTemporariesH == 0 report.TemporariesCustom = opts.KeepTemporariesH != 24 report.LimitBandwidthInLan = opts.LimitBandwidthInLan - report.CustomReleaseURL = opts.ReleasesURL != "https=//upgrades.syncthing.net/meta.json" + report.CustomReleaseURL = opts.ReleasesURL != "https://upgrades.syncthing.net/meta.json" report.CustomStunServers = len(opts.RawStunServers) != 1 || opts.RawStunServers[0] != "default" for _, cfg := range s.cfg.Folders() { |