File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1414# 'ovh-eu'
1515OVH_EU=' https://eu.api.ovh.com/1.0'
1616
17+ # 'ovh-us'
18+ OVH_US=' https://api.us.ovhcloud.com/1.0'
19+
1720# 'ovh-ca':
1821OVH_CA=' https://ca.api.ovh.com/1.0'
1922
@@ -29,9 +32,6 @@ SYS_EU='https://eu.api.soyoustart.com/1.0'
2932# 'soyoustart-ca'
3033SYS_CA=' https://ca.api.soyoustart.com/1.0'
3134
32- # 'runabove-ca'
33- RAV_CA=' https://api.runabove.com/1.0'
34-
3535wiki=" https://github.com/acmesh-official/acme.sh/wiki/How-to-use-OVH-domain-api"
3636
3737ovh_success=" https://github.com/acmesh-official/acme.sh/wiki/OVH-Success"
@@ -45,6 +45,10 @@ _ovh_get_api() {
4545 printf " %s" $OVH_EU
4646 return
4747 ;;
48+ ovh-us | ovhus)
49+ printf " %s" $OVH_US
50+ return
51+ ;;
4852 ovh-ca | ovhca)
4953 printf " %s" $OVH_CA
5054 return
@@ -65,14 +69,15 @@ _ovh_get_api() {
6569 printf " %s" $SYS_CA
6670 return
6771 ;;
68- runabove-ca | runaboveca)
69- printf " %s" $RAV_CA
72+ # raw API url starts with https://
73+ https* )
74+ printf " %s" " $1 "
7075 return
7176 ;;
7277
7378 * )
7479
75- _err " Unknown parameter : $1 "
80+ _err " Unknown endpoint : $1 "
7681 return 1
7782 ;;
7883 esac
You can’t perform that action at this time.
0 commit comments