bch-rpc-explorer icon indicating copy to clipboard operation
bch-rpc-explorer copied to clipboard

Hide JSON tab with IP addresses when BTCEXP_HIDE_IP=true

Open infertux opened this issue 1 year ago • 0 comments

Even with BTCEXP_HIDE_IP=true (default config), all the IP addresses of the node are visible on the "Node Status" JSON tab. This can be seen at https://explorer.electroncash.de/node-status for instance. Even though the IPs are hidden in the "Details" tab, they are visible in the "JSON" tab.

This PR hides the "JSON" tab altogether, another approach might be to hide just the sub-tab tab-getnetworkinfo. I could edit the PR if you'd rather do that.

infertux avatar Nov 21 '23 03:11 infertux