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

Update change_url

This commit is contained in:
Éric Gaspar 2023-11-21 16:39:09 +01:00
parent 87cbbce1fd
commit d233c46d65

View file

@ -21,10 +21,7 @@ ynh_change_url_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template=".env.example" --destination="$install_dir/.env" ynh_replace_string --match_string="APP_URL=https://*" --replace_string="APP_URL=https://$new_domain" --target_file=$install_dir/.env
chmod 600 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT