* Console: Move favicon.ico and i2plogo.png out of the .war
so that the HTTP proxy can use them directly; proxy error pages must be updated next
This commit is contained in:
@ -14,7 +14,9 @@ if (uri.endsWith(".css")) {
|
||||
response.setContentType("image/gif");
|
||||
} else if (uri.endsWith(".jpg")) {
|
||||
response.setContentType("image/jpeg");
|
||||
} else if (uri.endsWith(".ico")) {
|
||||
response.setContentType("image/x-icon");
|
||||
}
|
||||
|
||||
response.setHeader("Cache-Control", "max-age=86400"); // cache for a day
|
||||
net.i2p.util.FileUtil.readFile(uri, "./docs", response.getOutputStream());
|
||||
%>
|
Reference in New Issue
Block a user