Merge pull request #99 from return42/webapp-misc

[enh] add settings option to enable/disable search formats
This commit is contained in:
Alexandre Flament 2021-05-28 13:26:48 +02:00 committed by GitHub
commit 83ccf7b04d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 77 additions and 3 deletions

View file

@ -18,6 +18,7 @@ search:
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
ban_time_on_fail : 5 # ban time in seconds after engine errors
max_ban_time_on_fail : 120 # max ban time in seconds after engine errors
formats: [html, csv, json, rss] # remove format to deny access, use lower case.
server:
port : 8888