mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 00:43:53 -04:00
fix(porkbun): do not add * to URL path
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user