switch to a different cache with a ttl
This commit is contained in:
@ -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",
|
||||
};
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user