switch to a different cache with a ttl
Some checks failed
Fix bun lock file / build (push) Successful in 41s
Deploy Website / deploy (push) Failing after 2m28s

This commit is contained in:
Lee
2024-10-09 17:56:17 +01:00
parent ee77a8f626
commit 2ebc04243c
5 changed files with 46 additions and 12 deletions

View File

@ -17,8 +17,8 @@ export function getImageUrl(originalUrl: string) {
* @param src the image url
* @returns the average color
*/
export const getAverageColor = cache(async (src: string) => {
export const getAverageColor = async (src: string) => {
return {
hex: "#fff",
};
});
};