[Pkg-javascript-commits] [node-static] 55/151: Added support for .htm files, which are esentially the same as .html

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:17:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository node-static.

commit 9804bb9df32fb292fba269bc84ba9f1a1e7ce3db
Author: Carlos Precioso <kalprestito at yahoo.es>
Date:   Tue Aug 16 00:24:53 2011 +0300

    Added support for .htm files, which are esentially the same as .html
---
 lib/node-static/mime.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/node-static/mime.js b/lib/node-static/mime.js
index cdd3355..dc2f79b 100644
--- a/lib/node-static/mime.js
+++ b/lib/node-static/mime.js
@@ -31,6 +31,7 @@ this.contentTypes = {
   "gz": "application/x-gzip",
   "hdf": "application/x-hdf",
   "hqx": "application/mac-binhex40",
+  "htm": "text/html",
   "html": "text/html",
   "ice": "x-conference/x-cooltalk",
   "ico": "image/x-icon",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git



More information about the Pkg-javascript-commits mailing list