mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
feat: Implement proper DNS entries creation for Digital Ocean
This commit is contained in:
parent
07de11c75a
commit
120a8fc644
|
@ -188,7 +188,7 @@ class DigitalOceanDnsApi extends DnsProviderApi {
|
|||
'/domains/$domainName/records',
|
||||
data: {
|
||||
'type': record.type,
|
||||
'name': record.name,
|
||||
'name': record.name == domainName ? '@' : record.name,
|
||||
'data': record.type == 'MX' ? '@' : record.content,
|
||||
'ttl': record.ttl,
|
||||
'priority': record.priority,
|
||||
|
|
Loading…
Reference in a new issue