mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-16 21:27:30 +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) {
|
||||
shortcode = shortcode ? `/${shortcode}.jpg` : ""
|
||||
shortcode = shortcode ? `/${shortcode}.mp4` : ""
|
||||
const params = new URLSearchParams()
|
||||
params.set("url", url)
|
||||
return `/videoproxy${shortcode}?${params.toString()}`
|
||||
|
Loading…
Reference in New Issue
Block a user