mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-15 21:16:02 +02:00
fix(slickvpn/updater): update existing hostnames from servers.json
- SlickVPN location website is now total garbage which cannot be parsed
This commit is contained in:
@@ -19,3 +19,9 @@ func parseHardcodedServers() (allServers models.AllServers, err error) {
|
||||
err = decoder.Decode(&allServers)
|
||||
return allServers, err
|
||||
}
|
||||
|
||||
// HardcodedServers returns the hardcoded servers.
|
||||
// Warning: mutating the returned value will impact the storage's internal state.
|
||||
func (s *Storage) HardcodedServers() models.AllServers {
|
||||
return s.hardcodedServers
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user