i need better way to cache images

This commit is contained in:
partisan 2024-09-12 22:11:39 +02:00
parent 61af6fc453
commit d107d41d72
8 changed files with 59 additions and 33 deletions

View file

@ -156,7 +156,7 @@ func PerformDeviantArtImageSearch(query, safe, lang string, page int) ([]ImageSe
Width: 0,
Height: 0,
Source: resultURL,
ThumbProxy: imgSrc,
ThumbProxy: "/imgproxy?url=" + imgSrc,
}
}
}(imgSrc, resultURL, title)