all repos — searchix @ 8a1972abb4b429bd62b47cb44e3219d722919faf

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: make web search timeout configurable

Alan Pearce
commit

8a1972abb4b429bd62b47cb44e3219d722919faf

parent

0b2627ff5be310d394fe63063bdf67e22debe12d

1 file changed, 2 insertions(+), 0 deletions(-)

changed files
M defaults.tomldefaults.toml
@@ -19,6 +19,8 @@ # Content to add to HTML <head>. Can be used to override styling, add scripts, etc.
ExtraHeadHTML = '' # Whether to log incoming HTTP requests LogRequests = true +# Timeout for search requests +SearchTimeout = '1s' # Content-Security-Policy header to send with requests. Should only need changing if ExtraHeadHTML is used. [Web.ContentSecurityPolicy]