From 6b12bb0c01b0f0c80a8c2971ca1d6d9cd0ff29ba Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 22:42:28 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 207685d..dfe5410 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -103,12 +103,12 @@ fi #================================================= ynh_script_progression --message="Reconfiguring congif file.." --weight=1 -#sed -i '/APP_URL=/c\APP_URL=https://${new_domain}${new_path}' $final_path/.env - pushd $final_path yes | php$phpversion artisan bookstack:update-url https://${domain}${path_url} https://${new_domain}${new_path} popd +sed -i '/APP_URL=/c\APP_URL=https://${new_domain}${new_path}' $final_path/.env + #================================================= # RELOAD NGINX #=================================================