mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-01-06 20:16:58 +00:00
Save videos with .mp4 extension
Fixes https://todo.sr.ht/~cadence/bibliogram-issues/68
This commit is contained in:
parent
ab58306cee
commit
1872391a8e
@ -42,7 +42,7 @@ function proxyProfilePic(url, userID) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function proxyVideo(url, shortcode) {
|
function proxyVideo(url, shortcode) {
|
||||||
shortcode = shortcode ? `/${shortcode}.jpg` : ""
|
shortcode = shortcode ? `/${shortcode}.mp4` : ""
|
||||||
const params = new URLSearchParams()
|
const params = new URLSearchParams()
|
||||||
params.set("url", url)
|
params.set("url", url)
|
||||||
return `/videoproxy${shortcode}?${params.toString()}`
|
return `/videoproxy${shortcode}?${params.toString()}`
|
||||||
|
Loading…
Reference in New Issue
Block a user