mirror of
https://github.com/vlang/v.git
synced 2025-09-11 16:36:20 -04:00
vweb, veb, x.vweb: add m3u8
MIME type application/vnd.apple.mpegurl
for multimedia playlists (#21688)
This commit is contained in:
parent
bebe943cc2
commit
1a685c30aa
@ -161,6 +161,7 @@ pub const mime_types = {
|
|||||||
'.3gp': 'video/3gpp'
|
'.3gp': 'video/3gpp'
|
||||||
'.3g2': 'video/3gpp2'
|
'.3g2': 'video/3gpp2'
|
||||||
'.7z': 'application/x-7z-compressed'
|
'.7z': 'application/x-7z-compressed'
|
||||||
|
'.m3u8': 'application/vnd.apple.mpegurl'
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const max_http_post_size = 1024 * 1024
|
pub const max_http_post_size = 1024 * 1024
|
||||||
|
@ -142,6 +142,7 @@ pub const mime_types = {
|
|||||||
'.3gp': 'video/3gpp'
|
'.3gp': 'video/3gpp'
|
||||||
'.3g2': 'video/3gpp2'
|
'.3g2': 'video/3gpp2'
|
||||||
'.7z': 'application/x-7z-compressed'
|
'.7z': 'application/x-7z-compressed'
|
||||||
|
'.m3u8': 'application/vnd.apple.mpegurl'
|
||||||
}
|
}
|
||||||
pub const max_http_post_size = 1024 * 1024
|
pub const max_http_post_size = 1024 * 1024
|
||||||
pub const default_port = 8080
|
pub const default_port = 8080
|
||||||
|
@ -162,6 +162,7 @@ pub const mime_types = {
|
|||||||
'.3gp': 'video/3gpp'
|
'.3gp': 'video/3gpp'
|
||||||
'.3g2': 'video/3gpp2'
|
'.3g2': 'video/3gpp2'
|
||||||
'.7z': 'application/x-7z-compressed'
|
'.7z': 'application/x-7z-compressed'
|
||||||
|
'.m3u8': 'application/vnd.apple.mpegurl'
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const max_http_post_size = 1024 * 1024
|
pub const max_http_post_size = 1024 * 1024
|
||||||
|
Loading…
x
Reference in New Issue
Block a user