mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 10:30:28 +00:00
Allow .htm as an alias for .html files
This commit is contained in:
parent
0c34459d75
commit
c73853288c
@ -1727,6 +1727,7 @@ $tw.boot.startup = function(options) {
|
||||
$tw.utils.registerFileType("text/plain","utf8",".txt");
|
||||
$tw.utils.registerFileType("text/css","utf8",".css");
|
||||
$tw.utils.registerFileType("text/html","utf8",".html");
|
||||
$tw.config.fileExtensionInfo[".htm"] = {type: "text/html"};
|
||||
$tw.utils.registerFileType("application/hta","utf16le",".hta",{deserializerType:"text/html"});
|
||||
$tw.utils.registerFileType("application/javascript","utf8",".js");
|
||||
$tw.utils.registerFileType("application/json","utf8",".json");
|
||||
|
Loading…
Reference in New Issue
Block a user