Skip to content

Commit 5a8ff7f

Browse files
committed
scripts/mkwebfs: MIME types for rst, ts, m3u8
Add MIME types for .rst, .ts, and .m3u8 files Signed-off-by: Simon Kuenzer <[email protected]>
1 parent 1c42a09 commit 5a8ff7f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scripts/mkwebfs

+8-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function get_mime() {
9999
"xml")
100100
MIME="application/xml"
101101
;;
102-
"text"|"txt"|"md"|"asc")
102+
"text"|"txt"|"md"|"asc"|"rst")
103103
MIME="text/plain"
104104
;;
105105
"rtf")
@@ -187,6 +187,13 @@ function get_mime() {
187187
"avi")
188188
MIME="video/avi"
189189
;;
190+
"ts")
191+
MIME="video/MP2T"
192+
;;
193+
194+
"m3u8")
195+
MIME="application/x-mpegURL"
196+
;;
190197

191198
"tar")
192199
MIME="application/x-tar"

0 commit comments

Comments
 (0)