mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 02:33:39 +00:00
fix: reintentar si falló la generación en el pasado
This commit is contained in:
parent
0002ed53a9
commit
2f745886f5
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ class DeployHiddenService < DeployWww
|
||||||
ONION_RE = /\A[a-z0-9]{56}\.onion\z/.freeze
|
ONION_RE = /\A[a-z0-9]{56}\.onion\z/.freeze
|
||||||
|
|
||||||
def fqdn
|
def fqdn
|
||||||
|
create_hidden_service! if onion.blank?
|
||||||
|
|
||||||
onion.tap do |onion|
|
onion.tap do |onion|
|
||||||
raise ArgumentError, 'Aun no se generó la dirección .onion' if onion.blank?
|
raise ArgumentError, 'Aun no se generó la dirección .onion' if onion.blank?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue