Skip to content
Snippets Groups Projects
Commit 1983da04 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] duniter/duniter#1084 WS2P: do not check BMA connection if BMA is disabled

parent 6bad5ef4
No related branches found
No related tags found
No related merge requests found
......@@ -500,6 +500,9 @@ function WebAdmin (duniterServer, startServices, stopServices, listDuniterUIPlug
});
this.isNodePubliclyReachable = (req) => co(function *() {
if (server.conf.nobma) {
return { success: true }
}
const peer = yield server.PeeringService.peer();
const p = PeerDTO.fromJSONObject(peer);
let reachable;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment