1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Update change_url

This commit is contained in:
ericgaspar 2022-01-29 09:17:30 +01:00
parent d118241557
commit 12059800da

View file

@ -105,7 +105,7 @@ fi
ynh_script_progression --message="Reconfiguring congif file.." --weight=1 ynh_script_progression --message="Reconfiguring congif file.." --weight=1
pushd $final_path 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 popd
sed -i "/APP_URL=/c\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