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:
commit
d66fbf76c8
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue