diff options
author | jcardus <joaquim.cardeira@gmail.com> | 2020-03-25 21:38:53 +0000 |
---|---|---|
committer | jcardus <joaquim.cardeira@gmail.com> | 2020-03-25 21:38:53 +0000 |
commit | 02b79df2316d2b463a74edc7a1dc08231b0121f7 (patch) | |
tree | e3af67cdf387b30e97fa9ac11877604837858873 | |
parent | faa35f608eff1225d35794d0a38398897940d802 (diff) | |
download | trackermap-server-02b79df2316d2b463a74edc7a1dc08231b0121f7.tar.gz trackermap-server-02b79df2316d2b463a74edc7a1dc08231b0121f7.tar.bz2 trackermap-server-02b79df2316d2b463a74edc7a1dc08231b0121f7.zip |
compression on jetty
-rw-r--r-- | src/main/java/org/traccar/web/WebServer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java index 92548d218..d5c4cf71b 100644 --- a/src/main/java/org/traccar/web/WebServer.java +++ b/src/main/java/org/traccar/web/WebServer.java @@ -95,12 +95,10 @@ public class WebServer { } }); - GzipHandler gzipHandler = new GzipHandler(); - HandlerList handlers = new HandlerList(); initClientProxy(config, handlers); handlers.addHandler(servletHandler); - handlers.addHandler(gzipHandler); + handlers.addHandler(new GzipHandler()); server.setHandler(handlers); } |