From 1918be6220d5e6dc223278b88a499a7722e25e36 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 3 Aug 2024 14:39:54 +0000 Subject: [PATCH] fix(format-servers): add missing vpn type column for natively supported providers - nordvpn - perfect privacy - surfshark --- internal/models/markdown.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/models/markdown.go b/internal/models/markdown.go index 18b14d97b..2c96d2d24 100644 --- a/internal/models/markdown.go +++ b/internal/models/markdown.go @@ -125,9 +125,9 @@ func getMarkdownHeaders(vpnProvider string) (headers []string) { case providers.Mullvad: return []string{countryHeader, cityHeader, ispHeader, ownedHeader, hostnameHeader, vpnHeader} case providers.Nordvpn: - return []string{countryHeader, regionHeader, cityHeader, hostnameHeader, categoriesHeader} + return []string{countryHeader, regionHeader, cityHeader, hostnameHeader, vpnHeader, categoriesHeader} case providers.Perfectprivacy: - return []string{cityHeader, tcpHeader, udpHeader} + return []string{cityHeader, vpnHeader, tcpHeader, udpHeader} case providers.Privado: return []string{countryHeader, regionHeader, cityHeader, hostnameHeader} case providers.PrivateInternetAccess: @@ -142,7 +142,8 @@ func getMarkdownHeaders(vpnProvider string) (headers []string) { case providers.SlickVPN: return []string{regionHeader, countryHeader, cityHeader, hostnameHeader} case providers.Surfshark: - return []string{regionHeader, countryHeader, cityHeader, hostnameHeader, multiHopHeader, tcpHeader, udpHeader} + return []string{regionHeader, countryHeader, cityHeader, hostnameHeader, + vpnHeader, multiHopHeader, tcpHeader, udpHeader} case providers.Torguard: return []string{countryHeader, cityHeader, hostnameHeader, tcpHeader, udpHeader} case providers.VPNSecure: