This commit is contained in:
darkclip committed 2024-01-12 04:55:31 +08:00
1 parent 83b5133741
commit baace07660
1 file changed
+1 -1
+1 -1
View File
@@ -240,7 +240,7 @@ main(){
fi;
;;
*)
if [ -n $HOST ]; then
if [ $HOST ]; then
curl -kX POST "https://$HOST/api/wireguard/client/setClient/$UUID" \
-H "Content-Type: application/json" \
-H "Authorization: Basic $BASIC" \