neon_arch commited on
Commit
0096154
1 Parent(s): 94ef62e

✨ feat: add documentation for the new config option

Browse files
Files changed (1) hide show
  1. websurfx/config.lua +2 -2
websurfx/config.lua CHANGED
@@ -5,7 +5,7 @@ debug = false -- an option to enable or disable debug mode.
5
  -- ### Server ###
6
  port = "8080" -- port on which server should be launched
7
  binding_ip_addr = "127.0.0.1" --ip address on the which server should be launched.
8
- production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users)
9
  -- if production_use is set to true
10
  -- 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.
11
 
@@ -28,4 +28,4 @@ theme = "simple" -- the theme name which should be used for the website
28
  redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
29
 
30
  -- ### Search Engines ###
31
- upstream_search_engines = { DuckDuckGo = true, Searx = false }
 
5
  -- ### Server ###
6
  port = "8080" -- port on which server should be launched
7
  binding_ip_addr = "127.0.0.1" --ip address on the which server should be launched.
8
+ production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users (more than one))
9
  -- if production_use is set to true
10
  -- 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.
11
 
 
28
  redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
29
 
30
  -- ### Search Engines ###
31
+ upstream_search_engines = { DuckDuckGo = true, Searx = false } -- select the upstream search engines from which the results should be fetched.