From 5996096144015c4ae3f016c1daa2aeb5e889dbe9 Mon Sep 17 00:00:00 2001 From: ewilly Date: Wed, 27 Sep 2023 22:15:02 +0200 Subject: [PATCH] Fix --- doc/ADMIN.md | 2 +- scripts/change_url | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index da35982..06f4bd3 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,5 +1,5 @@ The app install dir is `__INSTALL_DIR__`. Don't edit settings in that directory. -Instead edit them in `__DATA_DIR__/settings.conf`. That file overwrite the default settings thanks to `use_default_settings: true` +Instead edit them in `__INSTALL_DIR__/settings.conf`. That file overwrite the default settings thanks to `use_default_settings: true` Please note that this application is a rolling-release (i.e. each commit is a release) and thus is updated very regularly. People not updating frequently may encounter some bugs or disruptions due to the very nature of this software. diff --git a/scripts/change_url b/scripts/change_url index 83f539a..4c96bce 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Reconfiguring SearXNG..." --weight=2 -ynh_replace_string --match_string="base_url: https://$old_domain$old_path" --replace_string="base_url: https://$new_domain$new_path" --target_file="$data_dir/settings.yml" +ynh_replace_string --match_string="base_url: https://$old_domain$old_path" --replace_string="base_url: https://$new_domain$new_path" --target_file="$install_dir/settings.yml" #================================================= # GENERIC FINALISATION