Skip to content

Commit

Permalink
Merge pull request #563 from LunarMarathon/changes
Browse files Browse the repository at this point in the history
Added XML support to File.php
  • Loading branch information
caendesilva authored Oct 24, 2022
2 parents 73fd269 + 7645ed9 commit 1df37da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/framework/src/Models/Support/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function getMimeType(): string
'gif' => 'image/gif',
'json' => 'application/json',
'js' => 'application/javascript',
'xml' => 'application/xml',
];

if (isset($lookup[$extension])) {
Expand Down

0 comments on commit 1df37da

Please sign in to comment.