Release 4.2.3+1: на вкладке «Защита» только карточка EvilFox — убраны NordVPN/ExpressVPN/Surfshark и их openURL-хосты. Windows 4.2.3.1.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-08-02 09:15:48 +03:00
co-authored by Cursor
parent 19711c3a33
commit 0ba662c650
15 changed files with 82 additions and 164 deletions
+3 -7
View File
@@ -470,14 +470,10 @@ func (a *App) AutoCheckUpdate() {
}
// allowedLinkHosts are the only hosts the UI may open in the default browser
// (shop / «Полезные ссылки» / provider cards in index.html).
// Competitor links are plain URLs without referral codes (Store policy).
// (shop / «Полезные ссылки» in index.html).
var allowedLinkHosts = map[string]bool{
"evilfox.win": true,
"t.me": true,
"nordvpn.com": true,
"expressvpn.com": true,
"surfshark.com": true,
"evilfox.win": true,
"t.me": true,
}
// LinkAllowed validates that raw is an http(s) URL pointing at one of the