fix(slickvpn/updater): only keep 11 servers

- this reverts most of commit e806fe02db.
This commit is contained in:
Quentin McGaw
2025-12-23 03:03:47 +00:00
parent e806fe02db
commit beaa8b5589
10 changed files with 27 additions and 1400 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"golang.org/x/text/language"
)
// readFromFile reads the servers from servers.json.
// readFromFile reads the servers from server.json.
// It only reads servers that have the same version as the hardcoded servers version
// to avoid JSON decoding errors.
func (s *Storage) readFromFile(filepath string, hardcodedVersions map[string]uint16) (