aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-10-27 17:08:12 -0500
committerJP Dillingham <jp@dillingham.me>2024-10-27 17:08:12 -0500
commitd387b851a62220bd4c7886178e6d8c24e8ec1ed4 (patch)
treed7eb26c4f3d7a3b6b6c41d15a231aabdd7eaeda7 /docs
parentba1892f3b50176a943cd193c4896245e5b936c34 (diff)
downloadslskd-d387b851a62220bd4c7886178e6d8c24e8ec1ed4.tar.gz
tweak headings
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/config.md b/docs/config.md
index 9615ef0e..d89be501 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -867,7 +867,9 @@ web:
cidr: 0.0.0.0/0,::/0
```
-# Search Filters
+# Filters
+
+## Search Filters
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.
@@ -882,7 +884,7 @@ Filter expressions are case insensitive by default.
filters:
search:
request:
- - ^.{1,2}$
+ - ^.{1,2}$ # discard any requests shorter than 3 characters
```
# Data Retention