diff --git a/Telemachus/src/IOPageResponsibility.cs b/Telemachus/src/IOPageResponsibility.cs index ace1d07..cbb1b98 100644 --- a/Telemachus/src/IOPageResponsibility.cs +++ b/Telemachus/src/IOPageResponsibility.cs @@ -87,7 +87,7 @@ private HTMLResponseContentType GetContentType(string extension) contentTypes[".woff"] = new HTMLResponseContentType { contentType = HTMLContentType.BinaryContent, mimeType = "application/font-woff" }; contentTypes[".otf"] = new HTMLResponseContentType { contentType = HTMLContentType.BinaryContent, mimeType = "application/font-sfnt" }; contentTypes[".mp4"] = new HTMLResponseContentType { contentType = HTMLContentType.BinaryContent, mimeType = "video/mp4" }; - contentTypes[".json"] = new HTMLResponseContentType { contentType = HTMLContentType.BinaryContent, mimeType = "application/json" }; + contentTypes[".json"] = new HTMLResponseContentType { contentType = HTMLContentType.TextContent, mimeType = "application/json" }; contentTypes[".txt"] = new HTMLResponseContentType { contentType = HTMLContentType.TextContent, mimeType = "text/plain" }; contentTypes[""] = new HTMLResponseContentType { contentType = HTMLContentType.BinaryContent, mimeType = null };