Merge pull request #4321 from tsiegleauq/font-mimetype-hotfix
Adds "application" to font mime types
This commit is contained in:
commit
39c7a51218
@ -101,7 +101,7 @@ export class ViewMediafile extends BaseViewModel implements Searchable {
|
|||||||
* @returns true or false
|
* @returns true or false
|
||||||
*/
|
*/
|
||||||
public isFont(): boolean {
|
public isFont(): boolean {
|
||||||
return ['font/ttf', 'font/woff'].includes(this.type);
|
return ['font/ttf', 'font/woff', 'application/font-woff', 'application/font-sfnt'].includes(this.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user