master
Manager Bot 3 years ago
parent 6d62c91d94
commit 01229ea3f9
  1. 8
      Web/lib/MJB/Web/Controller/Blog.pm

@ -44,7 +44,11 @@ sub do_domain_hosted ( $c ) {
return;
}
return $c->_initialize_blog( $sub_domain . '.' . $top_domain->name, 'show_blog_domain_hosted', $top_domain->name );
# ( $top_domain->letsencrypt_challenge ne 'http' ? )$top_domain->name
my $domain_name = $sub_domain . '.' . $top_domain->name;
my $domain_ssl = $top_domain->letsencrypt_challenge ne 'http' ? $top_domain->name : '';
return $c->_initialize_blog( $domain_name, 'show_blog_domain_hosted', $domain_ssl );
}
# Initial blog creation entry point when the user
@ -71,7 +75,7 @@ sub do_domain_owned ( $c ) {
return;
}
return $c->_initialize_blog( $domain_name, 'show_blog_domain_owned' );
return $c->_initialize_blog( $domain_name, 'show_blog_domain_owned', '' );
}
# This is a special exception, it's actually a get request, because we want it

Loading…
Cancel
Save