fix(porkbun): do not add * to URL path

This commit is contained in:
Quentin McGaw
2024-06-13 19:01:21 +00:00
parent 85780dc6e1
commit 987138dfc1

View File

@@ -20,7 +20,7 @@ func (p *Provider) getRecordIDs(ctx context.Context, client *http.Client, record
Host: "porkbun.com",
Path: "/api/json/v3/dns/retrieveByNameType/" + p.domain + "/" + recordType + "/",
}
if p.host != "@" {
if p.host != "@" && p.host != "*" {
u.Path += p.host
}