mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 00:21:23 +00:00
fix wildcard char
This commit is contained in:
parent
8ddfbd3e61
commit
51f38c0289
@ -124,16 +124,13 @@ def setup_wildcard_ssl(domain, email, bench_path):
|
|||||||
if domain.split('.')[0] != '*':
|
if domain.split('.')[0] != '*':
|
||||||
domain = '*.{0}'.format(domain)
|
domain = '*.{0}'.format(domain)
|
||||||
return domain
|
return domain
|
||||||
|
|
||||||
domain = _get_domain_name(domain)
|
|
||||||
print("domain", domain)
|
|
||||||
return
|
|
||||||
|
|
||||||
if not get_config(bench_path).get("dns_multitenant"):
|
if not get_config(bench_path).get("dns_multitenant"):
|
||||||
print("You cannot setup SSL without DNS Multitenancy")
|
print("You cannot setup SSL without DNS Multitenancy")
|
||||||
return
|
return
|
||||||
|
|
||||||
get_certbot()
|
get_certbot()
|
||||||
|
domain = _get_domain_name(domain)
|
||||||
|
|
||||||
email_param = ''
|
email_param = ''
|
||||||
if email:
|
if email:
|
||||||
|
Loading…
Reference in New Issue
Block a user