summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-11-27 13:42:08 +0100
committerBnyro <bnyro@tutanota.com>2024-12-01 13:08:50 +0100
commita7537a69357f961030ace8f23be945f1fbbbaf37 (patch)
treebfdb0b27eebc67c2fe3b5bc06d088af997691f8a /searx/preferences.py
parentcae07b9bf87f6f3745f4633e2193dcb5ecbba0fb (diff)
downloadsearxng-a7537a69357f961030ace8f23be945f1fbbbaf37.tar.gz
searxng-a7537a69357f961030ace8f23be945f1fbbbaf37.zip
[feat] search: add url formatting preference
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index c1abd290e..209cf06f1 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -472,6 +472,10 @@ class Preferences:
settings['ui']['hotkeys'],
choices=['default', 'vim']
),
+ 'url_formatting': EnumStringSetting(
+ settings['ui']['url_formatting'],
+ choices=['pretty', 'full', 'host']
+ ),
# fmt: on
}