mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-15 03:25:42 +08:00
Change the wireguard key URL.
Former-commit-id: 9b4f84383e095d5219d852c8de9f55a08623c764
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user