From 3486cfe3f6936f8ae2ad10b348b6f6ba8642eece Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 12:56:22 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 02903b7..8088f5b 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -112,7 +112,7 @@ fi ynh_script_progression --message="Reconfiguring congif file.." --weight=1 -sed "s/a APP_URL=.*/a https://${new_domain}${new_path}" $final_path/.env +sed -i 's/^APP_URL= .*$/APP_URL=https://${new_domain}${new_path}/' $final_path/.env pushd $final_path php$phpversion artisan bookstack:update-url https://${domain}${path_url} https://${new_domain}${new_path}