diff options
author | Bnyro <bnyro@tutanota.com> | 2024-11-27 13:42:08 +0100 |
---|---|---|
committer | Bnyro <bnyro@tutanota.com> | 2024-12-01 13:08:50 +0100 |
commit | a7537a69357f961030ace8f23be945f1fbbbaf37 (patch) | |
tree | bfdb0b27eebc67c2fe3b5bc06d088af997691f8a /searx/preferences.py | |
parent | cae07b9bf87f6f3745f4633e2193dcb5ecbba0fb (diff) | |
download | searxng-a7537a69357f961030ace8f23be945f1fbbbaf37.tar.gz searxng-a7537a69357f961030ace8f23be945f1fbbbaf37.zip |
[feat] search: add url formatting preference
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 4 |
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 } |