diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-10-27 16:12:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-27 16:12:21 -0500 |
| commit | ba1892f3b50176a943cd193c4896245e5b936c34 (patch) | |
| tree | dcc5e071fa4e679acd3dd029b1502b84a928213e /docs | |
| parent | f9936f40d5d5ef5b09ee30e8837fe26341cc3830 (diff) | |
| parent | 0a3b0e4ace3578f0db564d00f1bc806644b2c60c (diff) | |
| download | slskd-ba1892f3b50176a943cd193c4896245e5b936c34.tar.gz | |
Merge pull request #1224 from nhawke/filter-docs
Fix search filter config docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/config.md b/docs/config.md index 4ff884da..9615ef0e 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 |
