summaryrefslogtreecommitdiff
path: root/searx/settings_defaults.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-11-13 19:12:50 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-12-03 13:47:17 +0100
commit2274d55d5a4dea76b645e3495673545fea0fe529 (patch)
tree9bf3508dea187862996b6a44552182bc8c35e76e /searx/settings_defaults.py
parent1e0813fd3a217fd5f012e17f8fc1386a0a16bf5b (diff)
downloadsearxng-2274d55d5a4dea76b645e3495673545fea0fe529.tar.gz
searxng-2274d55d5a4dea76b645e3495673545fea0fe529.zip
[mod] add option max_page
Related: https://github.com/searxng/searxng/issues/2982 Closes: https://github.com/searxng/searxng/issues/2972 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r--searx/settings_defaults.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py
index a0d0daa09..6a56fdd7d 100644
--- a/searx/settings_defaults.py
+++ b/searx/settings_defaults.py
@@ -169,6 +169,7 @@ SCHEMA = {
'recaptcha_SearxEngineCaptcha': SettingsValue(numbers.Real, 604800),
},
'formats': SettingsValue(list, OUTPUT_FORMATS),
+ 'max_page': SettingsValue(int, 0),
},
'server': {
'port': SettingsValue((int, str), 8888, 'SEARXNG_PORT'),