Console: Hide Hidden Services Manager link until TCG is running

Use PortMapper constants to check registration
Reported by lbt
This commit is contained in:
zzz
2023-01-11 13:37:29 -05:00
parent b2d78e4724
commit 904829c1d5
4 changed files with 28 additions and 6 deletions

View File

@ -60,6 +60,10 @@ public class PortMapper {
/**
* To indicate presence, alternative to WebAppStarter.isWebappRunning().
* For actual base URL, use getConsoleURL()
*
* Note: This is only the webapp. Also requires TCG running to be useful.
* The webapp does not start TCG.
*
* @since 0.9.34
*/
public static final String SVC_I2PTUNNEL = "i2ptunnel";