mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Added JavaScript content type
SVN Revision: 2190
This commit is contained in:
parent
4fdc4a2e06
commit
14afea1a20
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user