Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
•
8eeaf19
1
Parent(s):
7a8bf02
✨ feat: add new config option `safe_search` (#201)
Browse files- websurfx/config.lua +11 -0
websurfx/config.lua
CHANGED
@@ -11,6 +11,17 @@ production_use = false -- whether to use production mode or not (in other words
|
|
11 |
-- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests.
|
12 |
request_timeout = 30 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
-- ### Website ###
|
15 |
-- The different colorschemes provided are:
|
16 |
-- {{
|
|
|
11 |
-- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests.
|
12 |
request_timeout = 30 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
|
13 |
|
14 |
+
-- ### Search ###
|
15 |
+
-- Filter results based on different levels. The levels provided are:
|
16 |
+
-- {{
|
17 |
+
-- 0 - None
|
18 |
+
-- 1 - Low
|
19 |
+
-- 2 - Moderate
|
20 |
+
-- 3 - High
|
21 |
+
-- 4 - Aggressive
|
22 |
+
-- }}
|
23 |
+
safe_search = 2
|
24 |
+
|
25 |
-- ### Website ###
|
26 |
-- The different colorschemes provided are:
|
27 |
-- {{
|