From 8b8ed5e6752e79d944f7eae59f9fecaa5f440cf3 Mon Sep 17 00:00:00 2001 From: Daniel Worthington-Bodart Date: Wed, 21 Sep 2016 14:20:43 +0100 Subject: [PATCH] Added JSON to static resource defaults --- src/com/googlecode/utterlyidle/dsl/StaticBindingBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/googlecode/utterlyidle/dsl/StaticBindingBuilder.java b/src/com/googlecode/utterlyidle/dsl/StaticBindingBuilder.java index 03e313d4..56d44895 100644 --- a/src/com/googlecode/utterlyidle/dsl/StaticBindingBuilder.java +++ b/src/com/googlecode/utterlyidle/dsl/StaticBindingBuilder.java @@ -29,6 +29,7 @@ public class StaticBindingBuilder implements Callable { put("ico", MediaType.IMAGE_X_ICON); put("svg", MediaType.IMAGE_SVG); put("js", MediaType.TEXT_JAVASCRIPT); + put("json", MediaType.APPLICATION_JSON); put("map", MediaType.APPLICATION_JAVASCRIPT); put("css", MediaType.TEXT_CSS); put("less", MediaType.TEXT_CSS);