1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mygpo_ynh.git synced 2024-09-03 19:55:52 +02:00

Fix change_url

This commit is contained in:
Salamandar 2024-03-04 16:38:59 +01:00
parent 20183e756a
commit 6890380a36

View file

@ -30,9 +30,9 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Updating $app's configuration files..." --weight=1
mkdir -p "$env_path"
echo "$new_domain" > "$env_path/envs/prod/DEFAULT_BASE_URL"
echo "$app@$new_domain" > "$env_path/envs/prod/DEFAULT_FROM_EMAIL"
echo "$app@$new_domain" > "$env_path/envs/prod/SERVER_EMAIL"
echo "$new_domain" > "$env_path/DEFAULT_BASE_URL"
echo "$app@$new_domain" > "$env_path/DEFAULT_FROM_EMAIL"
echo "$app@$new_domain" > "$env_path/SERVER_EMAIL"
set_permissions