chore(updater): set vpn field for all providers

- Bump servers model versions for all providers except mullvad, ivpn, windscribe
- Do not leave `vpn` JSON field empty for any server
This commit is contained in:
Quentin McGaw
2022-04-23 10:59:29 +00:00
parent e6c3cb078a
commit 045ecabb78
21 changed files with 9945 additions and 20 deletions

View File

@@ -4,6 +4,7 @@ import (
"net"
"github.com/qdm12/gluetun/internal/constants"
"github.com/qdm12/gluetun/internal/constants/vpn"
"github.com/qdm12/gluetun/internal/models"
)
@@ -25,6 +26,7 @@ func getPossibleServers() (possibleServers hostToServer) {
const domain = "cg-dialup.net"
possibleHost := groupID + "-" + countryCode + "." + domain
possibleServer := models.Server{
VPN: vpn.OpenVPN,
Hostname: possibleHost,
Country: country,
TCP: protocol == constants.TCP,