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.
|
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.httpInterface = NT.projects.network.modules.httpInterface.newNetworkModulesHttpInterface()
|
||||||
thisObject.webSocketsInterface.initialize()
|
thisObject.httpInterface.initialize()
|
||||||
console.log('Network Node Http Interface .................................................. Listening at port ' + JSON.parse(NT.networkNode.p2pNetworkNode.node.config).webPort)
|
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'),
|
fs: require('fs'),
|
||||||
path: require('path'),
|
path: require('path'),
|
||||||
util: require('util'),
|
util: require('util'),
|
||||||
|
http: require('http'),
|
||||||
nodeFetch: require('node-fetch'),
|
nodeFetch: require('node-fetch'),
|
||||||
web3: require('web3'),
|
web3: require('web3'),
|
||||||
ws: require('ws'),
|
ws: require('ws'),
|
||||||
|
|||||||
Reference in new issue
Block a user