Skip to content

Add drawio extension #13

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Dflydev/ApacheMimeTypes/PhpRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ class PhpRepository implements RepositoryInterface
'list' => 'text/plain',
'log' => 'text/plain',
'in' => 'text/plain',
'drawio' => 'text/plain',
'dsc' => 'text/prs.lines.tag',
'rtx' => 'text/richtext',
'sgml' => 'text/sgml',
Expand Down Expand Up @@ -1737,7 +1738,7 @@ class PhpRepository implements RepositoryInterface
'text/csv' => array('csv'),
'text/html' => array('html', 'htm'),
'text/n3' => array('n3'),
'text/plain' => array('txt', 'text', 'conf', 'def', 'list', 'log', 'in'),
'text/plain' => array('txt', 'text', 'conf', 'def', 'list', 'log', 'in', 'drawio'),
'text/prs.lines.tag' => array('dsc'),
'text/richtext' => array('rtx'),
'text/sgml' => array('sgml', 'sgm'),
Expand Down
2 changes: 1 addition & 1 deletion src/Dflydev/ApacheMimeTypes/Resources/mime.types
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ text/html html htm
# text/javascript
text/n3 n3
# text/parityfec
text/plain txt text conf def list log in
text/plain txt text conf def list log in drawio
# text/prs.fallenstein.rst
text/prs.lines.tag dsc
# text/vnd.radisys.msml-basic-layout
Expand Down
Loading