Fix product performance grouped JSON build
This commit is contained in:
@@ -590,7 +590,8 @@ WHERE id = $1
|
||||
return
|
||||
}
|
||||
|
||||
if storedInDB && len(binData) > 0 {
|
||||
_ = storedInDB
|
||||
if len(binData) > 0 {
|
||||
w.Header().Set("Content-Type", http.DetectContentType(binData))
|
||||
w.Header().Set("Cache-Control", "public, max-age=3600")
|
||||
_, _ = w.Write(binData)
|
||||
|
||||
Reference in New Issue
Block a user