mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-11 03:14:15 +08:00
update
This commit is contained in:
parent
baace07660
commit
cb465bcf74
@ -241,7 +241,7 @@ main(){
|
||||
;;
|
||||
*)
|
||||
if [ $HOST ]; then
|
||||
curl -kX POST "https://$HOST/api/wireguard/client/setClient/$UUID" \
|
||||
curl -ksSfX POST "https://$HOST/api/wireguard/client/setClient/$UUID" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Basic $BASIC" \
|
||||
-d '{"client":{"serveraddress":"'$serveraddress'","serverport":"'$serverport'","servers":"'$SERVER'"}}';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user