mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-22 17:47:19 +00:00
Add support for woff2 files
This commit is contained in:
parent
d1b8cce6bf
commit
c7d8492842
@ -2256,6 +2256,7 @@ $tw.boot.startup = function(options) {
|
||||
$tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]});
|
||||
$tw.utils.registerFileType("application/font-woff","base64",".woff");
|
||||
$tw.utils.registerFileType("application/x-font-ttf","base64",".woff");
|
||||
$tw.utils.registerFileType("application/font-woff2","base64",".woff2");
|
||||
$tw.utils.registerFileType("audio/ogg","base64",".ogg");
|
||||
$tw.utils.registerFileType("video/ogg","base64",[".ogm",".ogv",".ogg"]);
|
||||
$tw.utils.registerFileType("video/webm","base64",".webm");
|
||||
|
Loading…
Reference in New Issue
Block a user