1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

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

Update install to fix localhost in notification
This commit is contained in:
Kayou 2019-03-12 10:46:59 +01:00 committed by GitHub
commit d66fbf76c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -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
#=================================================

View file

@ -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
#=================================================