forked from I2P_Developers/i2p.i2p
Console: Don't gzip svg files
Unused import
This commit is contained in:
@ -48,7 +48,9 @@ public class HostCheckHandler extends GzipHandler
|
|||||||
// our js is very small
|
// our js is very small
|
||||||
//"application/javascript", "application/x-javascript",
|
//"application/javascript", "application/x-javascript",
|
||||||
"application/xhtml+xml", "application/xml",
|
"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 {
|
} else {
|
||||||
// poorly documented, but we must put something in,
|
// poorly documented, but we must put something in,
|
||||||
|
@ -11,7 +11,6 @@ import net.i2p.data.DataHelper;
|
|||||||
import net.i2p.router.RouterContext;
|
import net.i2p.router.RouterContext;
|
||||||
import net.i2p.router.update.ConsoleUpdateManager;
|
import net.i2p.router.update.ConsoleUpdateManager;
|
||||||
import static net.i2p.update.UpdateType.*;
|
import static net.i2p.update.UpdateType.*;
|
||||||
import net.i2p.util.TranslateReader;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If news file does not exist, use file from the initialNews directory
|
* If news file does not exist, use file from the initialNews directory
|
||||||
|
Reference in New Issue
Block a user