This commit is contained in:
partisan 2024-10-17 10:13:30 +02:00
parent 8fe6783ecb
commit 4bd95062a7
2 changed files with 1 additions and 5 deletions

View file

@ -41,7 +41,7 @@ func handleImageSearch(w http.ResponseWriter, settings UserSettings, query strin
"Theme": settings.Theme,
"Safe": settings.SafeSearch,
"IsThemeDark": settings.IsThemeDark,
"HardCacheEnabled": config.HardCacheEnabled,
"HardCacheEnabled": config.HardCacheDuration == 0,
}
// Render the template without measuring the time