vweb, veb, x.vweb: add m3u8 MIME type application/vnd.apple.mpegurl for multimedia playlists (#21688)

This commit is contained in:
poggingfish 2024-06-16 14:21:43 -05:00 committed by GitHub
parent bebe943cc2
commit 1a685c30aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,7 @@ pub const mime_types = {
'.3gp': 'video/3gpp'
'.3g2': 'video/3gpp2'
'.7z': 'application/x-7z-compressed'
'.m3u8': 'application/vnd.apple.mpegurl'
}
pub const max_http_post_size = 1024 * 1024

View File

@ -142,6 +142,7 @@ pub const mime_types = {
'.3gp': 'video/3gpp'
'.3g2': 'video/3gpp2'
'.7z': 'application/x-7z-compressed'
'.m3u8': 'application/vnd.apple.mpegurl'
}
pub const max_http_post_size = 1024 * 1024
pub const default_port = 8080

View File

@ -162,6 +162,7 @@ pub const mime_types = {
'.3gp': 'video/3gpp'
'.3g2': 'video/3gpp2'
'.7z': 'application/x-7z-compressed'
'.m3u8': 'application/vnd.apple.mpegurl'
}
pub const max_http_post_size = 1024 * 1024