mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
Patch mail in upgrade.
This commit is contained in:
parent
f0a01a7aaa
commit
2752ad0932
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ ynh_script_progression --message="Installing $app..." --weight=2
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@${n8n_version}
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@${n8n_version}
|
||||||
|
ynh_string_replace --match_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure')," \
|
||||||
|
--replace_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'), tls: {servername:'${main_domain}'}," \
|
||||||
|
--target_file="node_modules/n8n/dist/UserManagement/email/NodeMailer.js"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue