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:
zzz
2019-01-28 13:31:54 +00:00
parent 47beb8250e
commit 24fd48815a
7 changed files with 272 additions and 3 deletions

View File

@ -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();