25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Added JavaScript content type

SVN Revision: 2190
This commit is contained in:
Badlop 2009-06-16 13:52:47 +00:00
parent 4fdc4a2e06
commit 14afea1a20

View File

@ -129,6 +129,7 @@ content_type(Filename) ->
".xul" -> "application/vnd.mozilla.xul+xml"; ".xul" -> "application/vnd.mozilla.xul+xml";
".jar" -> "application/java-archive"; ".jar" -> "application/java-archive";
".xpi" -> "application/x-xpinstall"; ".xpi" -> "application/x-xpinstall";
".js" -> "application/x-javascript";
_Else -> "application/octet-stream" _Else -> "application/octet-stream"
end. end.