Skip to content

Commit a4f2ae8

Browse files
Back out TTF compression attempt
1 parent 35b2c2f commit a4f2ae8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/embedded/src/org/labkey/embedded/LabKeyServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ public static void main(String[] args)
130130

131131
// Enable HTTP compression for response content
132132
put("server.compression.enabled", "true");
133-
// Spring Boot compresses HTML, JSON and other types by default, but not TSV, CSV, SVG, or TTF fonts.
133+
// Spring Boot compresses HTML, JSON and other types by default, but not TSV, CSV, or SVG.
134134
// We have to duplicate the defaults and add those types
135-
put("server.compression.mime-types", "text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml,text/tab-separated-values,text/csv,image/svg+xml,font/ttf");
135+
put("server.compression.mime-types", "text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml,text/tab-separated-values,text/csv,image/svg+xml");
136136

137137
put("server.tomcat.accesslog.enabled", "true");
138138
put("server.tomcat.accesslog.pattern", "%h %l %u %t \"%r\" %s %b %D %S %I \"%{Referer}i\" \"%{User-Agent}i\" %{LABKEY.username}s %{X-Forwarded-For}i");

0 commit comments

Comments
 (0)