forked from I2P_Developers/i2p.i2p
I2PControl:
Disable webapp by default Add link in Services section of sidebar Add definition in PortMapper Add stub controller for socket implementation, WIP Javadocs
This commit is contained in:
@ -802,6 +802,10 @@ public class RouterConsoleRunner implements RouterApp {
|
||||
props.remove(PREFIX + "addressbook" + ENABLED);
|
||||
rewrite = true;
|
||||
}
|
||||
} else if (appName.equals("jsonrpc") && enabled == null) {
|
||||
// jsonrpc (i2pcontrol) webapp default is false
|
||||
props.setProperty(PREFIX + "jsonrpc" + ENABLED, "false");
|
||||
rewrite = true;
|
||||
} else if (! "false".equals(enabled)) {
|
||||
try {
|
||||
String path = files[i].getCanonicalPath();
|
||||
|
Reference in New Issue
Block a user