Skip to content

Commit

Permalink
use www.privateinternetaccess.com instead of privateinternetaccess.com
Browse files Browse the repository at this point in the history
  • Loading branch information
g00nix committed Oct 11, 2021
1 parent e7d4806 commit b89d7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tokenLocation=/opt/piavpn-manual/token
echo -n "Checking login credentials..."

generateTokenResponse=$(curl -s -u "$PIA_USER:$PIA_PASS" \
"https://privateinternetaccess.com/gtoken/generateToken")
"https://www.privateinternetaccess.com/gtoken/generateToken")

if [ "$(echo "$generateTokenResponse" | jq -r '.status')" != "OK" ]; then
echo
Expand Down

0 comments on commit b89d7e0

Please sign in to comment.