Console: Serve default favicon.ico

i2ptunnel: Remove dup link to nonexistent theme favicon.ico
This commit is contained in:
zzz
2020-11-23 18:46:12 +00:00
parent aef2fb8ce0
commit 2ffb570850
7 changed files with 4 additions and 5 deletions

View File

@@ -61,6 +61,8 @@ public class LocaleWebAppHandler extends HandlerWrapper
if (pathInContext.equals("/") || pathInContext.equals("/index.html")) {
// home page
pathInContext = "/index.jsp";
} else if (pathInContext.equals("/favicon.ico")) {
// pass thru unchanged
} else if (pathInContext.indexOf('/', 1) < 0 &&
(!pathInContext.endsWith(".jsp")) &&
(!pathInContext.endsWith(".log")) &&