From 1872391a8ea1d5341f35e9458d98bf4d2b155d91 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Mon, 1 Aug 2022 20:10:33 +1200 Subject: [PATCH] Save videos with .mp4 extension Fixes https://todo.sr.ht/~cadence/bibliogram-issues/68 --- src/lib/utils/proxyurl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/proxyurl.js b/src/lib/utils/proxyurl.js index ff5a6a5..77ec893 100644 --- a/src/lib/utils/proxyurl.js +++ b/src/lib/utils/proxyurl.js @@ -42,7 +42,7 @@ function proxyProfilePic(url, userID) { } function proxyVideo(url, shortcode) { - shortcode = shortcode ? `/${shortcode}.jpg` : "" + shortcode = shortcode ? `/${shortcode}.mp4` : "" const params = new URLSearchParams() params.set("url", url) return `/videoproxy${shortcode}?${params.toString()}`