[mod] include SEARXNG_METHOD environment variable

This commit is contained in:
Aadniz 2025-04-22 17:28:51 +02:00 committed by Markus Heiser
parent e9157b3c1a
commit 07a94d4d2e
3 changed files with 9 additions and 2 deletions

View file

@ -182,7 +182,7 @@ SCHEMA = {
'base_url': SettingsValue((False, str), False, 'SEARXNG_BASE_URL'),
'image_proxy': SettingsValue(bool, False, 'SEARXNG_IMAGE_PROXY'),
'http_protocol_version': SettingsValue(('1.0', '1.1'), '1.0'),
'method': SettingsValue(('POST', 'GET'), 'POST'),
'method': SettingsValue(('POST', 'GET'), 'POST', 'SEARXNG_METHOD'),
'default_http_headers': SettingsValue(dict, {}),
},
'redis': {