mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
accept text/markdown as well
This commit is contained in:
parent
d8a7b1e537
commit
aca66270c7
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class TXT extends Provider {
|
|||
class MarkDown extends TXT {
|
||||
|
||||
public function getMimeType() {
|
||||
return '/text\/x-markdown/';
|
||||
return '/text\/(x-)?markdown/';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue