fix: removed redundant func call init_ssl_cert (#12854)
This commit is contained in:
parent
8420f6c5fa
commit
f973c2d86d
|
|
@ -47,7 +47,6 @@ if [[ -n ${APPSMITH_CUSTOM_DOMAIN-} ]] && [[ -z ${DYNO-} ]]; then
|
|||
APP_TEMPLATE="$https_conf"
|
||||
if ! [[ -e "/etc/letsencrypt/live/$APPSMITH_CUSTOM_DOMAIN" ]]; then
|
||||
source "/opt/appsmith/init_ssl_cert.sh"
|
||||
init_ssl_cert "$APPSMITH_CUSTOM_DOMAIN"
|
||||
if ! init_ssl_cert "$APPSMITH_CUSTOM_DOMAIN"; then
|
||||
echo "Status code from init_ssl_cert is $?"
|
||||
APP_TEMPLATE="$http_conf"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user