whoogle-search/app
Ben Busby baa7a87efb
Fix incorrect config bool env var casting
Config boolean environment variables need to be cast to ints, since
they are set or unset using 0 and 1. Previously they were interpreted as
(pseudocode) read_var(name, default=False), which meant that setting
CONFIG_VAR=0 would enable that variable since Python reads environment
variables as strings, and '0' is truthy. This updates the previous logic
to (still pseudocode) int(read_var(name, default='0')).

Fixes #279
2021-04-12 16:40:59 -04:00
..
models Fix incorrect config bool env var casting 2021-04-12 16:40:59 -04:00
static Replace remaining hardcoded theme values 2021-04-12 10:22:34 -04:00
templates Expand custom css theming support 2021-04-09 11:00:02 -04:00
utils Revert heroku app https upgrade fix 2021-04-05 11:00:56 -04:00
__init__.py Disable logging from imported modules 2021-04-09 09:26:16 -04:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Expand custom css theming support 2021-04-09 11:00:02 -04:00
request.py Hotfix: Send generic "Mozilla" in user agent 2021-04-08 09:43:41 -04:00
routes.py Expand custom css theming support 2021-04-09 11:00:02 -04:00