mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 06:21:41 +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
|
||||
|
||||
def fqdn
|
||||
create_hidden_service! if onion.blank?
|
||||
|
||||
onion.tap do |onion|
|
||||
raise ArgumentError, 'Aun no se generó la dirección .onion' if onion.blank?
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue