We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e2398 commit de0f458Copy full SHA for de0f458
lib/utils.js
@@ -9,7 +9,7 @@ exports.isSQLite = function isSQLite (sequelize) {
9
}
10
11
exports.getImageMimeType = function getImageMimeType (imagePath) {
12
- return mime.contentType(path.extname(imagePath))
+ return mime.lookup(path.extname(imagePath))
13
14
15
exports.isRevealTheme = function isRevealTheme (theme) {
0 commit comments