Merge pull request #58 from YunoHost-Apps/testing

add dns server domain setting
This commit is contained in:
trendless
2026-06-15 21:43:46 -06:00
committed by GitHub
+2 -1
View File
@@ -70,7 +70,8 @@ else
fi
mytoken1=$(curl -s "http://127.0.0.1:5380/api/user/createToken?user=admin&pass=admin&tokenName=mytoken1" | jq -r '.token')
curl -s "http://localhost:5380/api/settings/set?dnsServerLocalEndPoints=$endpoints&Token=$mytoken1"
curl -s "http://localhost:5380/api/settings/set?dnsServerLocalEndPoints=$endpoints&token=$mytoken1"
curl -s "http://localhost:5380/api/settings/set?dnsServerDomain=$domain&token=$mytoken1"
#=================================================
# RESTART SYSTEMD SERVICE