diff --git a/scripts/change_url b/scripts/change_url index a9d5d2f..c685d71 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -105,7 +105,7 @@ fi ynh_script_progression --message="Reconfiguring congif file.." --weight=1 pushd $final_path - yes | php$phpversion artisan bookstack:update-url $app_url_domain https://${new_domain}${new_path} + yes | php$phpversion artisan bookstack:update-url $app_url_domain https://${new_domain}${new_path%/} popd sed -i "/APP_URL=/c\APP_URL=https://${new_domain}${new_path}" $final_path/.env