Network node bug fix

This commit is contained in:
Luis Fernando Molina committed 2021-11-14 14:01:34 +01:00
1 parent 8d2c9d2646
commit e2cc9a1280
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -69,8 +69,8 @@ exports.newNetworkNode = function newNetworkNode() {
/*
Other Network Nodes and Client Apps will communicate with this Network Node via it's HTTP Interface.
*/
thisObject.webSocketsInterface = NT.projects.network.modules.webHttpInterface.newNetworkModulesHttpInterface()
thisObject.webSocketsInterface.initialize()
thisObject.httpInterface = NT.projects.network.modules.httpInterface.newNetworkModulesHttpInterface()
thisObject.httpInterface.initialize()
console.log('Network Node Http Interface .................................................. Listening at port ' + JSON.parse(NT.networkNode.p2pNetworkNode.node.config).webPort)
}
}