Network node bug fix
This commit is contained in:
1 parent
8d2c9d2646
commit
e2cc9a1280
2 files changed
+3
-2
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ exports.newNetworkRoot = function newNetworkRoot() {
|
||||
fs: require('fs'),
|
||||
path: require('path'),
|
||||
util: require('util'),
|
||||
http: require('http'),
|
||||
nodeFetch: require('node-fetch'),
|
||||
web3: require('web3'),
|
||||
ws: require('ws'),
|
||||
|
||||
Reference in new issue
Block a user