2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

fix wildcard char

This commit is contained in:
Saurabh 2018-06-29 14:35:28 +05:30
parent 8ddfbd3e61
commit 51f38c0289

View File

@ -125,15 +125,12 @@ def setup_wildcard_ssl(domain, email, bench_path):
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: