Fix TTF files not being converted to WOFF2

This commit is contained in:
Gaël Métais
2021-01-30 23:56:03 +00:00
parent dd439d5ec3
commit 208ed63c96
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ var FontAnalyzer = function() {
deferred.reject(error);
}
} else if (entry.isTtf) {
} else if (entry.isTTF) {
debug('File is a TTF. Let\'s convert to woff2');
+1 -1
View File
@@ -617,7 +617,7 @@ var Redownload = function() {
var type = null;
if (req.isWoff) {
type = 'woff';
} else if (req.isTtf) {
} else if (req.isTTF) {
type = 'ttf';
}