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.