Browse Source

fix(gcore_cdn): renew login api url

https://api.gcore.com/docs/iam#tag/Account
pull/5143/head
xiaopc 8 months ago
committed by GitHub
parent
commit
cb8293f1d9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      deploy/gcore_cdn.sh

2
deploy/gcore_cdn.sh

@ -57,7 +57,7 @@ gcore_cdn_deploy() {
_request="{\"username\":\"$Le_Deploy_gcore_cdn_username\",\"password\":\"$Le_Deploy_gcore_cdn_password\"}" _request="{\"username\":\"$Le_Deploy_gcore_cdn_username\",\"password\":\"$Le_Deploy_gcore_cdn_password\"}"
_debug _request "$_request" _debug _request "$_request"
export _H1="Content-Type:application/json" export _H1="Content-Type:application/json"
_response=$(_post "$_request" "https://api.gcore.com/auth/jwt/login")
_response=$(_post "$_request" "https://api.gcore.com/iam/auth/jwt/login")
_debug _response "$_response" _debug _response "$_response"
_regex=".*\"access\":\"\([-._0-9A-Za-z]*\)\".*$" _regex=".*\"access\":\"\([-._0-9A-Za-z]*\)\".*$"
_debug _regex "$_regex" _debug _regex "$_regex"

Loading…
Cancel
Save