mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 20:26:39 +00:00
set mjpeg content-type
This commit is contained in:
parent
36409a4ac0
commit
a1966f723d
|
@ -330,7 +330,7 @@ func (res *result) GetFileType() (gtsmodel.FileType, string, string) {
|
|||
"video/mpeg", "mpeg"
|
||||
case "mjpeg":
|
||||
return gtsmodel.FileTypeVideo,
|
||||
"", "mjpeg"
|
||||
"video/x-motion-jpeg", "mjpeg"
|
||||
case "mov,mp4,m4a,3gp,3g2,mj2":
|
||||
switch {
|
||||
case len(res.video) > 0:
|
||||
|
|
Loading…
Reference in a new issue