Skip to content

Commit 7bbed55

Browse files
author
Gustav Pursche
committed
Add proper mime-type to mp4 files
1 parent d283f2c commit 7bbed55

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Gruntfile.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,21 @@ module.exports = function( grunt ) {
7171
dest: '/mongolei/assets/',
7272
src: [
7373
'*.jpg',
74+
],
75+
stream: true,
76+
},
77+
{
78+
action: 'upload',
79+
expand: true,
80+
cwd: 'assets/',
81+
dest: '/mongolei/assets/',
82+
src: [
7483
'*.mp4',
7584
],
7685
stream: true,
86+
params: {
87+
ContentType: 'video/mp4'
88+
},
7789
},
7890
{
7991
action: 'upload',

0 commit comments

Comments
 (0)