🎥 Make videos programmatically with React
Update get-chrome-download-url.ts
JonnyBurgerf92fff89cc33
diff --git a/packages/renderer/src/browser/get-chrome-download-url.ts b/packages/renderer/src/browser/get-chrome-download-url.tsindex ca44c0f0f9..bd7b816685 100644--- a/packages/renderer/src/browser/get-chrome-download-url.ts+++ b/packages/renderer/src/browser/get-chrome-download-url.ts@@ -108,7 +108,7 @@ export function getChromeDownloadUrl({// Amazon Linux 2023 on arm64 needs a special build.// This binary is compatible with older glibc (no 2.35 requirement).if (isAmazonLinux2023() && chromeMode === 'headless-shell' && !version) {- return 'https://remotion.media/chromium-headless-shell-amazon-linux-arm64-149.0.7790.0.zip';+ return 'https://remotion.media/chromium-headless-shell-amazon-linux-arm64-149.0.7790.0.zip?clear';}if (chromeMode === 'chrome-for-testing') {@@ -121,7 +121,7 @@ export function getChromeDownloadUrl({// Regular arm64 binary requires glibc 2.35+if (canUseRemotionMediaBinaries()) {- return `https://remotion.media/chromium-headless-shell-linux-arm64-${TESTED_VERSION}.zip?clearcache`;+ return `https://remotion.media/chromium-headless-shell-linux-arm64-${TESTED_VERSION}.zip?clear`;}// Fall back to Playwright for older glibc (non-Amazon Linux systems)@@ -132,12 +132,12 @@ export function getChromeDownloadUrl({// Amazon Linux 2023 needs a special build.// This binary is compatible with older glibc (no 2.35 requirement).if (isAmazonLinux2023() && platform === 'linux64' && !version) {- return `https://remotion.media/chromium-headless-shell-amazon-linux-x64-149.0.7790.0.zip`;+ return `https://remotion.media/chromium-headless-shell-amazon-linux-x64-149.0.7790.0.zip?clear`;}if (platform === 'linux64' && version === null) {if (canUseRemotionMediaBinaries()) {- return `https://remotion.media/chromium-headless-shell-linux-x64-${TESTED_VERSION}.zip?clearcache`;+ return `https://remotion.media/chromium-headless-shell-linux-x64-${TESTED_VERSION}.zip?clear`;}// Fall back to Google's CDN for older glibc