summaryrefslogtreecommitdiff
path: root/share/server/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/server/main.js')
-rw-r--r--share/server/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/server/main.js b/share/server/main.js
index 53ccc012..2bbf1638 100644
--- a/share/server/main.js
+++ b/share/server/main.js
@@ -185,7 +185,8 @@ registerType = function() {
registerType("all", "*/*");
registerType("text", "text/plain", "txt");
-registerType("html", "text/html", "application/xhtml+xml", "xhtml");
+registerType("html", "text/html");
+registerType("xhtml", "application/xhtml+xml", "xhtml");
registerType("xml", "application/xml", "text/xml", "application/x-xml");
// http://www.ietf.org/rfc/rfc4627.txt
registerType("json", "application/json", "text/x-json");