diff --git a/scripts/install b/scripts/install index 5bc37bf..cc61767 100755 --- a/scripts/install +++ b/scripts/install @@ -205,6 +205,11 @@ exec_occ config:system:get logout_url >/dev/null 2>&1 \ //-YunoHost- " >> "${final_path}/config/config.php" +#================================================= +# CHANGE HOSTNAME FOR ACTIVITY NOTIFICATIONS +#================================================= +ynh_replace_string "'overwrite.cli.url' => 'http://localhost'," "'overwrite.cli.url' => 'https://${domain}'," "${final_path}/config/config.php" + #================================================= # REMOVE THE TEMPORARY ADMIN AND SET THE TRUE ONE #=================================================