neon_arch
commited on
Commit
•
5003c8e
1
Parent(s):
b3348b2
chore: reorder config file options under appropriate headings and make headings standout
Browse files- websurfx/config.lua +6 -7
websurfx/config.lua
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
-
-- Server
|
2 |
port = "8080" -- port on which server should be launched
|
3 |
binding_ip_addr = "127.0.0.1" --ip address on the which server should be launched.
|
|
|
|
|
|
|
4 |
|
5 |
-
-- Website
|
6 |
-- The different colorschemes provided are:
|
7 |
-- {{
|
8 |
-- catppuccin-mocha
|
@@ -17,9 +20,5 @@ binding_ip_addr = "127.0.0.1" --ip address on the which server should be launche
|
|
17 |
colorscheme = "catppuccin-mocha" -- the colorscheme name which should be used for the website theme
|
18 |
theme = "simple" -- the theme name which should be used for the website
|
19 |
|
20 |
-
-- Caching
|
21 |
redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
|
22 |
-
|
23 |
-
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)
|
24 |
-
-- if production_use is set to true
|
25 |
-
-- 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.
|
|
|
1 |
+
-- ### Server ###
|
2 |
port = "8080" -- port on which server should be launched
|
3 |
binding_ip_addr = "127.0.0.1" --ip address on the which server should be launched.
|
4 |
+
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)
|
5 |
+
-- if production_use is set to true
|
6 |
+
-- 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.
|
7 |
|
8 |
+
-- ### Website ###
|
9 |
-- The different colorschemes provided are:
|
10 |
-- {{
|
11 |
-- catppuccin-mocha
|
|
|
20 |
colorscheme = "catppuccin-mocha" -- the colorscheme name which should be used for the website theme
|
21 |
theme = "simple" -- the theme name which should be used for the website
|
22 |
|
23 |
+
-- ### Caching ###
|
24 |
redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
|
|
|
|
|
|
|
|