This commit is contained in:
@@ -32,7 +32,9 @@ pia_get_token() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pia_serverlist_v4() {
|
pia_serverlist_v4() {
|
||||||
curl -fsS 'https://serverlist.piaservers.net/vpninfo/servers/v4'
|
# PIA serverlist responses include a JSON line followed by signature data.
|
||||||
|
# We only need the JSON line for region selection.
|
||||||
|
curl -fsS 'https://serverlist.piaservers.net/vpninfo/servers/v4' | sed -n '1p'
|
||||||
}
|
}
|
||||||
|
|
||||||
parse_regions() {
|
parse_regions() {
|
||||||
|
|||||||
Reference in New Issue
Block a user