i2psnark: Move web resources to war

This commit is contained in:
zzz
2020-12-06 11:59:11 +00:00
parent 889b7361fe
commit cd019f258f
271 changed files with 11 additions and 14 deletions

View File

@@ -201,10 +201,7 @@ public class I2PSnarkServlet extends BasicServlet {
return;
}
if (_context.isRouterContext())
_themePath = "/themes/snark/" + _manager.getTheme() + '/';
else
_themePath = _contextPath + WARBASE + "themes/snark/" + _manager.getTheme() + '/';
_themePath = _contextPath + WARBASE + "themes/" + _manager.getTheme() + '/';
_imgPath = _themePath + "images/";
req.setCharacterEncoding("UTF-8");