Document WHOOGLE_CONFIG_NEAR env var

Fixes #406
main
Ben Busby 2021-09-15 16:00:36 -06:00
parent 5289b4ceb3
commit 817b51eb48
No known key found for this signature in database
GPG Key ID: 339B7B7EB5333D14
3 changed files with 9 additions and 0 deletions

View File

@ -325,6 +325,7 @@ These environment variables allow setting default config values, but can be over
| WHOOGLE_CONFIG_THEME | Set theme mode (light, dark, or system) |
| WHOOGLE_CONFIG_SAFE | Enable safe searches |
| WHOOGLE_CONFIG_ALTS | Use social media site alternatives (nitter, invidious, etc) |
| WHOOGLE_CONFIG_NEAR | Restrict results to only those near a particular city |
| WHOOGLE_CONFIG_TOR | Use Tor routing (if available) |
| WHOOGLE_CONFIG_NEW_TAB | Always open results in new tab |
| WHOOGLE_CONFIG_VIEW_IMAGE | Enable View Image option |

View File

@ -110,6 +110,11 @@
"value": "",
"required": false
},
"WHOOGLE_CONFIG_NEAR": {
"description": "[CONFIG] Restrict results to only those near a particular city",
"value": "",
"required": false
},
"WHOOGLE_CONFIG_TOR": {
"description": "[CONFIG] Use Tor, if available (set to 1 or leave blank)",
"value": "",

View File

@ -17,6 +17,9 @@
#WHOOGLE_PROXY_LOC=""
#HTTPS_ONLY=1
# Restrict results to only those near a particular city
#WHOOGLE_CONFIG_NEAR=denver
# See app/static/settings/countries.json for values
#WHOOGLE_CONFIG_COUNTRY=countryUK