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

fix domain name change

This commit is contained in:
OniriCorpe 2024-02-22 01:58:17 +01:00
parent a7e5035f25
commit 57e53c571d

View file

@ -16,6 +16,15 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
ynh_change_url_nginx_config
#=================================================
# MODIFY URL IN FRIENDICA CONF
#=================================================
ynh_print_info --message="Updating the Friendica config..."
ynh_replace_string --match_string="'url' => 'https://.*'," --replace_string="'url' => 'https://$domain'," --target_file="$install_dir/config/local.config.php"
ynh_store_file_checksum --file="$install_dir/config/local.config.php"
#=================================================
# END OF SCRIPT
#=================================================