mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
don't move forward if domain is blank
This commit is contained in:
parent
9341271bda
commit
7c3bcf7d2c
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ class RequestSSLAuthWorker
|
||||||
|
|
||||||
def perform(site_id)
|
def perform(site_id)
|
||||||
site = Site[site_id]
|
site = Site[site_id]
|
||||||
|
return if site.domain.blank?
|
||||||
challenge = site.request_ssl_authorization
|
challenge = site.request_ssl_authorization
|
||||||
|
|
||||||
CreateSSLCertWorker.perform_in 5.seconds, site_id, challenge.to_h.to_json
|
CreateSSLCertWorker.perform_in 5.seconds, site_id, challenge.to_h.to_json
|
||||||
|
|
Loading…
Add table
Reference in a new issue