mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 06:36:22 +00:00
fix: reintentar si falló la generación en el pasado
This commit is contained in:
parent
9d1505d263
commit
76c97372b9
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