mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix change_url after v2
This commit is contained in:
parent
7ca66b89e8
commit
6dff889d0c
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ ynh_change_url_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Modifying a config file..."
|
||||
|
||||
ynh_add_config --template="../conf/config.production.json" --destination="$install_dir/ghost/core/config.production.json"
|
||||
chmod 400 "$install_dir/ghost/core/config.production.json"
|
||||
chown $app:$app "$install_dir/ghost/core/config.production.json"
|
||||
echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PATH $YNH_APP_NEW_PATH ".url = \"http://$YNH_APP_NEW_DOMAIN$YNH_APP_NEW_PATH\"" $install_dir/ghost/config.production.json)" > $install_dir/ghost/config.production.json
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
|
|
Loading…
Add table
Reference in a new issue