From c4ca19d313fdb52c0e92524b304ad2cc5a12bf6d Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 16 Jun 2009 13:45:12 +0000 Subject: [PATCH] Added JavaScript content type SVN Revision: 2175 --- src/web/mod_http_fileserver.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index 1131030bf..d3c796257 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -129,6 +129,7 @@ content_type(Filename) -> ".xul" -> "application/vnd.mozilla.xul+xml"; ".jar" -> "application/java-archive"; ".xpi" -> "application/x-xpinstall"; + ".js" -> "application/x-javascript"; _Else -> "application/octet-stream" end.