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-28 13:40:13 +01:00
parent 3486cfe3f6
commit 97c37f29de
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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}