This commit is contained in:
blankie 2022-10-08 22:46:38 +07:00
parent f6b448ae8f
commit cb2fb07b24
Signed by: blankie
GPG key ID: CC15FC822C7F61F5

View file

@ -36,7 +36,7 @@
[(eq? content-type #f) `""] [(eq? content-type #f) `""]
[(regexp-match? #rx"^image/" content-type) [(regexp-match? #rx"^image/" content-type)
`(img (@ (src ,(u-proxy-url image-url))))] `(img (@ (src ,(u-proxy-url image-url))))]
[(regexp-match? #rx"^audio/" content-type) [(regexp-match? #rx"^audio/|^application/ogg$" content-type)
`(audio (@ (src ,(u-proxy-url image-url)) (controls)))] `(audio (@ (src ,(u-proxy-url image-url)) (controls)))]
[(regexp-match? #rx"^video/" content-type) [(regexp-match? #rx"^video/" content-type)
`(video (@ (src ,(u-proxy-url image-url)) (controls)))] `(video (@ (src ,(u-proxy-url image-url)) (controls)))]