diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-15 10:31:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 10:31:25 +0800 |
commit | ced34bab1a7d5bfdc2bf67d67ff447e9d8b7a9d3 (patch) | |
tree | 36160f89911f7a1fa825d2c841554eeaeb59f313 /web_src/js/features | |
parent | c91a7e8dbb14f3a1e9f1416c689187cbf1c2c3cf (diff) | |
download | gitea-ced34bab1a7d5bfdc2bf67d67ff447e9d8b7a9d3.tar.gz gitea-ced34bab1a7d5bfdc2bf67d67ff447e9d8b7a9d3.zip |
Detect ogg mime-type as audio or video (#26494)
"ogg" is just a "container" format for audio and video.
Golang's `DetectContentType` only reports "application/ogg" for
potential ogg files.
Actually it could do more "guess" to see whether it is a audio file or a
video file.
Diffstat (limited to 'web_src/js/features')
0 files changed, 0 insertions, 0 deletions