Browse Source

Merge pull request #175 from Mickael-Martin/notify-fix-testing

Update install to fix localhost in notification
pull/181/head
Kayou 7 years ago
committed by GitHub
parent
commit
d66fbf76c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      scripts/install
  2. 6
      scripts/upgrade

6
scripts/install

@ -205,6 +205,12 @@ 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
#=================================================

6
scripts/upgrade

@ -265,6 +265,12 @@ 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"
#=================================================
# MOUNT HOME FOLDERS AS EXTERNAL STORAGE
#=================================================

Loading…
Cancel
Save