mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 02:12:54 +00:00
* Jetty: Fix eepsite and webapp cache control directives.
Eepsite fix for new installs only. Fix i2psnark BasicServlet javadoc about param prefix. (ticket #1128)
This commit is contained in:
1 parent
3aa33378c1
commit
96cf1d60c2
3 files changed
+4
-5
No files matched your search
@@ -41,7 +41,7 @@ public class WebAppStarter {
|
||||
static {
|
||||
//_log = ContextHelper.getContext(null).logManager().getLog(WebAppStarter.class); ;
|
||||
// see DefaultServlet javadocs
|
||||
String pfx = "org.mortbay.jetty.servlet.Default.";
|
||||
String pfx = "org.eclipse.jetty.servlet.Default.";
|
||||
INIT_PARAMS.put(pfx + "cacheControl", "max-age=86400");
|
||||
INIT_PARAMS.put(pfx + "dirAllowed", "false");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user