diff --git a/scripts/change_url b/scripts/change_url index 8088f5b..d6be7a5 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -112,7 +112,7 @@ fi ynh_script_progression --message="Reconfiguring congif file.." --weight=1 -sed -i 's/^APP_URL= .*$/APP_URL=https://${new_domain}${new_path}/' $final_path/.env +sed -i '/APP_URL=/c\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}