diff --git a/scripts/change_url b/scripts/change_url index ebc480c..cb77f04 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -6,6 +6,9 @@ # IMPORT GENERIC HELPERS #================================================= +YNH_APP_ARG_DOMAIN=$YNH_APP_NEW_DOMAIN +YNH_APP_ARG_PATH=$YNH_APP_NEW_PATH + source _common.sh source /usr/share/yunohost/helpers @@ -126,7 +129,7 @@ fi ynh_script_progression --message="Modify $app config file..." domain=$YNH_APP_NEW_DOMAIN -path=$YNH_APP_NEW_PATH +path_url=$YNH_APP_NEW_PATH ynh_add_config --template="settings.py" --destination="$final_path/settings.py"