mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 15:01:50 +00:00
parent
1ff48bf458
commit
21dd6ffd55
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ class DeployDistributedPress < Deploy
|
||||||
# XXX: Esto depende de nuestro DNS actual, cuando lo migremos hay
|
# XXX: Esto depende de nuestro DNS actual, cuando lo migremos hay
|
||||||
# que eliminarlo.
|
# que eliminarlo.
|
||||||
unless site.name.end_with? '.'
|
unless site.name.end_with? '.'
|
||||||
|
self.remote_info ||= {}
|
||||||
self.remote_info['njalla'] = {}
|
self.remote_info['njalla'] = {}
|
||||||
self.remote_info['njalla']['a'] = njalla.add_record(name: site.name, type: 'CNAME', content: "#{Site.domain}.").to_h
|
self.remote_info['njalla']['a'] = njalla.add_record(name: site.name, type: 'CNAME', content: "#{Site.domain}.").to_h
|
||||||
self.remote_info['njalla']['ns'] = njalla.add_record(name: "_dnslink.#{site.name}", type: 'NS', content: "#{publisher.hostname}.").to_h
|
self.remote_info['njalla']['ns'] = njalla.add_record(name: "_dnslink.#{site.name}", type: 'NS', content: "#{publisher.hostname}.").to_h
|
||||||
|
|
Loading…
Reference in a new issue