diff --git a/server/models/Feed.js b/server/models/Feed.js index 577dedfb9..a433d0b1a 100644 --- a/server/models/Feed.js +++ b/server/models/Feed.js @@ -119,7 +119,7 @@ class Feed extends Model { entityUpdatedAt, serverAddress, feedURL: `/feed/${slug}`, - imageURL: media.coverPath ? `/feed/${slug}/cover${Path.extname(media.coverPath)}` : `/Logo.png`, + imageURL: media.coverPath ? `/feed/${slug}/cover${Path.extname(media.coverPath)}?ts=${new Date(entityUpdatedAt).getTime()}` : `/Logo.png`, siteURL: `/item/${libraryItem.id}`, title: media.title, description: media.description, @@ -212,7 +212,7 @@ class Feed extends Model { entityUpdatedAt, serverAddress, feedURL: `/feed/${slug}`, - imageURL: firstBookWithCover?.coverPath ? `/feed/${slug}/cover${Path.extname(firstBookWithCover.coverPath)}` : `/Logo.png`, + imageURL: firstBookWithCover?.coverPath ? `/feed/${slug}/cover${Path.extname(firstBookWithCover.coverPath)}?ts=${new Date(entityUpdatedAt).getTime()}` : `/Logo.png`, siteURL: `/collection/${collectionExpanded.id}`, title: collectionExpanded.name, description: collectionExpanded.description || '', @@ -301,7 +301,7 @@ class Feed extends Model { entityUpdatedAt, serverAddress, feedURL: `/feed/${slug}`, - imageURL: firstBookWithCover?.coverPath ? `/feed/${slug}/cover${Path.extname(firstBookWithCover.coverPath)}` : `/Logo.png`, + imageURL: firstBookWithCover?.coverPath ? `/feed/${slug}/cover${Path.extname(firstBookWithCover.coverPath)}?ts=${new Date(entityUpdatedAt).getTime()}` : `/Logo.png`, siteURL: `/library/${booksWithTracks[0].libraryItem.libraryId}/series/${seriesExpanded.id}`, title: seriesExpanded.name, description: seriesExpanded.description || '',