Skip to content

Commit 5dd884d

Browse files
committed
remove cache buster from video thumbnail
1 parent 570b8cf commit 5dd884d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/web/components/VideoThumbnail.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ export const VideoThumbnail: React.FC<VideoThumbnailProps> = memo(
4141
);
4242
if (response.ok) {
4343
const data = await response.json();
44-
// Add cache busting to the thumbnail URL as well
45-
return `${data.screen}${
46-
data.screen.includes("?") ? "&" : "?"
47-
}t=${cacheBuster}`;
44+
return data.screen;
4845
} else {
4946
throw new Error("Failed to fetch pre-signed URLs");
5047
}

0 commit comments

Comments
 (0)