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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
0 deletions
-
scripts/install
-
scripts/upgrade
|
|
|
@ -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 |
|
|
|
#================================================= |
|
|
|
|