From 0a3b0e4ace3578f0db564d00f1bc806644b2c60c Mon Sep 17 00:00:00 2001 From: Nick Hawke Date: Wed, 9 Oct 2024 09:01:59 -0400 Subject: Fix search filter docs --- docs/config.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index ce1fe2b1..8b529ced 100644 --- a/docs/config.md +++ b/docs/config.md @@ -867,17 +867,15 @@ web: cidr: 0.0.0.0/0,::/0 ``` -# Filters +# Search Filters -A number of filters can be configured to control various aspects of how the application interacts with the Soulseek network. - -Share filters can be used to prevent certain types of files from being shared. This option is an array that can take any number of filters. Filters must be a valid regular expression; a few examples are included below and in the example configuration included with the application, but the list is empty by default. +Search filters can be used to prevent certain types of search requests from being performed against your shares. This option is an array that can take any number of filters. Filters must be a valid regular expression; a few examples are included below and in the example configuration included with the application, but the list is empty by default. Filter expressions are case insensitive by default. | Command Line | Environment Variable | Description | | ------------------------- | ----------------------- | --------------------------------------------------------------------- | -| `--share-filter` | `SLSKD_SHARE_FILTER` | A list of regular expressions used to filter files from shares | +| `--search-request-filter` | `SEARCH_REQUEST_FILTER` | A list of regular expressions used to filter incoming search requests | #### **YAML** ```yaml -- cgit v1.2.3