Ignore:
Timestamp:
Nov 14, 2018 2:48:10 PM (21 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
dc343b0
Parents:
a35ad5f
Message:

MLab/NDT: Prep for connecting to wizard, fixes, cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/index.jsp

    ra35ad5f r6462e2a  
    1313    //
    1414    response.setStatus(307);
     15    response.setHeader("Cache-Control","no-cache");
    1516    String req = request.getRequestURL().toString();
    1617    StringBuilder buf = new StringBuilder(128);
     
    2425    net.i2p.I2PAppContext ctx = net.i2p.I2PAppContext.getGlobalContext();
    2526    boolean oldHome = ctx.getBooleanProperty("routerconsole.oldHomePage");
    26     boolean wizRun = ctx.getBooleanProperty("routerconsole.welcomeWizardComplete");
     27    boolean wizRun = ctx.getBooleanProperty(net.i2p.router.web.helpers.WizardHelper.PROP_COMPLETE);
    2728    String firstVersion = ctx.getProperty("router.firstVersion");
    2829    String tgt;
     
    3031    if (oldHome) {
    3132        tgt = "console";
    32     } else if (ENABLE_WIZARD_ON_FIRST_RUN && (wizRun || firstVersion == null)) {
     33    } else if (!ENABLE_WIZARD_ON_FIRST_RUN || wizRun || firstVersion == null) {
    3334        // wizard already run
    3435        tgt = "home";
Note: See TracChangeset for help on using the changeset viewer.