entry 'log4j-api'
entry 'log4j-to-slf4j'
}
- dependencySet(group: 'org.apache.tomcat.embed', version: '9.0.70') {
+ dependencySet(group: 'org.apache.tomcat.embed', version: '9.0.74') {
entry 'tomcat-embed-core'
entry('tomcat-embed-jasper') {
exclude 'org.eclipse.jdt.core.compiler:ecj'
private static void configureCompression(Connector connector) {
connector.setProperty("compression", "on");
connector.setProperty("compressionMinSize", "1024");
- connector.setProperty("compressableMimeType", "text/html,text/xml,text/plain,text/css,application/json,application/javascript");
+ connector.setProperty("compressibleMimeType", "text/html,text/xml,text/plain,text/css,application/json,application/javascript,text/javascript");
}
private static void setConnectorAttribute(Connector c, String key, @Nullable Object value) {
public static final String CSV = "text/csv";
public static final String DEFAULT = "application/octet-stream";
public static final String HTML = "text/html";
- public static final String JAVASCRIPT = "application/javascript";
+ public static final String JAVASCRIPT = "text/javascript";
public static final String JSON = "application/json";
public static final String PROTOBUF = "application/x-protobuf";
public static final String SVG = "image/svg+xml";