Browse Source

Update install to fix localhost in notification

pull/162/head
Mickaël Martin 7 years ago
committed by GitHub
parent
commit
c11cc2cbbe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      scripts/install

5
scripts/install

@ -203,6 +203,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://${main_domain}'," "${final_path}/config/config.php"
#=================================================
# REMOVE THE TEMPORARY ADMIN AND SET THE TRUE ONE
#=================================================

Loading…
Cancel
Save