Arash Hatami
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_arvan.sh
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
#Arvan_Token="Apikey xxxx" |
|
|
#Arvan_Token="Apikey xxxx" |
|
|
|
|
|
|
|
|
ARVAN_API_URL="https://napi.arvancloud.com/cdn/4.0/domains" |
|
|
|
|
|
|
|
|
ARVAN_API_URL="https://napi.arvancloud.ir/cdn/4.0/domains" |
|
|
#Author: Vahid Fardi |
|
|
#Author: Vahid Fardi |
|
|
#Report Bugs here: https://github.com/Neilpang/acme.sh |
|
|
#Report Bugs here: https://github.com/Neilpang/acme.sh |
|
|
# |
|
|
# |
|
@ -18,7 +18,7 @@ dns_arvan_add() { |
|
|
|
|
|
|
|
|
if [ -z "$Arvan_Token" ]; then |
|
|
if [ -z "$Arvan_Token" ]; then |
|
|
_err "You didn't specify \"Arvan_Token\" token yet." |
|
|
_err "You didn't specify \"Arvan_Token\" token yet." |
|
|
_err "You can get yours from here https://npanel.arvancloud.com/profile/api-keys" |
|
|
|
|
|
|
|
|
_err "You can get yours from here https://npanel.arvancloud.ir/profile/api-keys" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
#save the api token to the account conf file. |
|
|
#save the api token to the account conf file. |
|
|