From c73853288c5b4b0716da94fea2f2edec09345643 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 24 Jul 2014 19:53:51 +0100 Subject: [PATCH] Allow .htm as an alias for .html files --- boot/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/boot.js b/boot/boot.js index 3abe993a4..698b05bf0 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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");