Merge pull request #2 from AntonPates/replace-api-gcorelabs-com

replace api.gcorelabs.com with gcore.com
This commit is contained in:
Anton Pates 2023-07-25 10:34:17 +03:00 committed by GitHub
commit 47e31051d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,7 +201,7 @@ func (c *gcoreDNSProviderSolver) initSDK(ch *v1alpha1.ChallengeRequest) (*dnssdk
} }
apiFullUrl := cfg.ApiUrl apiFullUrl := cfg.ApiUrl
if apiFullUrl == "" { if apiFullUrl == "" {
apiFullUrl = "https://api.gcorelabs.com/dns" apiFullUrl = "https://api.gcore.com/dns"
} }
apiURL, err := url.Parse(apiFullUrl) apiURL, err := url.Parse(apiFullUrl)
if err != nil || apiFullUrl == "" { if err != nil || apiFullUrl == "" {