clean up
This commit is contained in:
parent
8fe6783ecb
commit
4bd95062a7
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue