From 14afea1a20cdd6b9d808d240636ea05fdda3ff40 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 16 Jun 2009 13:52:47 +0000 Subject: [PATCH] Added JavaScript content type SVN Revision: 2190 --- 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.