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:
parent
5800a96bb4
commit
6b12bb0c01
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue