aboutsummaryrefslogtreecommitdiff
path: root/src/Main.c
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-28 15:01:13 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-28 15:01:13 -0400
commit1b9187b1534992c0235dad064238b2d836489ca8 (patch)
treecdd7b7fd5c37a6ae2197ac6188607584de91893f /src/Main.c
parent86a9ebb90a2ac07d836c1408e3a15feb8615bd62 (diff)
downloadomnisearch-1b9187b1534992c0235dad064238b2d836489ca8.tar.gz
feat: changes to image proxy, proxy favicons
Diffstat (limited to 'src/Main.c')
-rw-r--r--src/Main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.c b/src/Main.c
index 8aa161d..137cab5 100644
--- a/src/Main.c
+++ b/src/Main.c
@@ -52,6 +52,7 @@ int main() {
.cache_dir = DEFAULT_CACHE_DIR,
.cache_ttl_search = DEFAULT_CACHE_TTL_SEARCH,
.cache_ttl_infobox = DEFAULT_CACHE_TTL_INFOBOX,
+ .cache_ttl_image = DEFAULT_CACHE_TTL_IMAGE,
.engines = ""};
if (load_config("config.ini", &cfg) != 0) {
@@ -72,6 +73,7 @@ int main() {
set_cache_ttl_search(cfg.cache_ttl_search);
set_cache_ttl_infobox(cfg.cache_ttl_infobox);
+ set_cache_ttl_image(cfg.cache_ttl_image);
if (cfg.proxy_list_file[0] != '\0') {
if (load_proxy_list(cfg.proxy_list_file) < 0) {