mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 17:26:35 +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',
|
'/domains/$domainName/records',
|
||||||
data: {
|
data: {
|
||||||
'type': record.type,
|
'type': record.type,
|
||||||
'name': record.name,
|
'name': record.name == domainName ? '@' : record.name,
|
||||||
'data': record.type == 'MX' ? '@' : record.content,
|
'data': record.type == 'MX' ? '@' : record.content,
|
||||||
'ttl': record.ttl,
|
'ttl': record.ttl,
|
||||||
'priority': record.priority,
|
'priority': record.priority,
|
||||||
|
|
Loading…
Reference in a new issue