Skip to content

Commit dbd4d5a

Browse files
Merge branch 'develop-patch' into develop-minor
2 parents 89e559d + 98d3ec6 commit dbd4d5a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Cms/ModelWithContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public function save(
462462
// update the clone
463463
$clone->version()->save(
464464
$data ?? [],
465-
$languageCode ?? 'default',
465+
$languageCode ?? 'current',
466466
$overwrite
467467
);
468468

src/Filesystem/Mime.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class Mime
5757
'log' => ['text/plain', 'text/x-log'],
5858
'm4a' => 'audio/mp4',
5959
'm4v' => 'video/mp4',
60+
'md' => 'text/markdown',
6061
'mid' => 'audio/midi',
6162
'midi' => 'audio/midi',
6263
'mif' => 'application/vnd.mif',
@@ -100,7 +101,7 @@ class Mime
100101
'tiff' => 'image/tiff',
101102
'wav' => 'audio/x-wav',
102103
'wbxml' => 'application/wbxml',
103-
'webm' => 'video/webm',
104+
'webm' => ['video/webm', 'audio/webm'],
104105
'webp' => 'image/webp',
105106
'word' => ['application/msword', 'application/octet-stream'],
106107
'xhtml' => 'application/xhtml+xml',

0 commit comments

Comments
 (0)