mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-27 13:39:45 +08:00
update
This commit is contained in:
1 parent
baace07660
commit
cb465bcf74
1 file changed
+1
-1
+1
-1
@@ -241,7 +241,7 @@ main(){
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [ $HOST ]; then
|
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 "Content-Type: application/json" \
|
||||||
-H "Authorization: Basic $BASIC" \
|
-H "Authorization: Basic $BASIC" \
|
||||||
-d '{"client":{"serveraddress":"'$serveraddress'","serverport":"'$serverport'","servers":"'$SERVER'"}}';
|
-d '{"client":{"serveraddress":"'$serveraddress'","serverport":"'$serverport'","servers":"'$SERVER'"}}';
|
||||||
|
|||||||
Reference in new issue
Block a user