Console: Don't gzip svg files

Unused import
This commit is contained in:
zzz
2018-03-14 11:41:18 +00:00
parent b4f3d961e6
commit 030beacf11
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,9 @@ public class HostCheckHandler extends GzipHandler
// our js is very small
//"application/javascript", "application/x-javascript",
"application/xhtml+xml", "application/xml",
"image/svg+xml", "text/css", "text/html", "text/plain"
// ditto svg
//"image/svg+xml",
"text/css", "text/html", "text/plain"
);
} else {
// poorly documented, but we must put something in,

View File

@ -11,7 +11,6 @@ import net.i2p.data.DataHelper;
import net.i2p.router.RouterContext;
import net.i2p.router.update.ConsoleUpdateManager;
import static net.i2p.update.UpdateType.*;
import net.i2p.util.TranslateReader;
/**
* If news file does not exist, use file from the initialNews directory