Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

remove cache buster from video thumbnail

Brendan Allan5dd884d0e245
diff --git a/apps/web/components/VideoThumbnail.tsx b/apps/web/components/VideoThumbnail.tsx
index 161872ce9..3d68a58d2 100644
--- a/apps/web/components/VideoThumbnail.tsx
+++ b/apps/web/components/VideoThumbnail.tsx
@@ -41,10 +41,7 @@ export const VideoThumbnail: React.FC<VideoThumbnailProps> = memo(
);
if (response.ok) {
const data = await response.json();
- // Add cache busting to the thumbnail URL as well
- return `${data.screen}${
- data.screen.includes("?") ? "&" : "?"
- }t=${cacheBuster}`;
+ return data.screen;
} else {
throw new Error("Failed to fetch pre-signed URLs");
}