Change the wireguard key URL.

Former-commit-id: 9b4f84383e095d5219d852c8de9f55a08623c764
This commit is contained in:
fscarmen
2023-11-27 18:28:14 +00:00
parent 0157c10467
commit 5851110467
+1 -1
View File
@@ -66,7 +66,7 @@ registe_account() {
private_key=$(wg genkey)
public_key=$(wg pubkey <<< "$private_key")
else
wg_api=$(curl -sSL https://wg.cloudflare.now.cc)
wg_api=$(curl -sSL https://fscarmen.cloudflare.now.cc/wg)
private_key=$(echo "$wg_api" | awk 'NR==2 {print $2}')
public_key=$(echo "$wg_api" | awk 'NR==1 {print $2}')
fi