File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ if (settings.database.nonMatchesName.value)
6767require ( "console-stamp" ) ( console , settings . general . consoleLogDateFormat . value ) ; //timestamp logs - https://github.com/starak/node-console-stamp
6868
6969//HTTP ENDPOINT - accept HTTP: data from the internet/LAN
70- http . createServer ( httpEndPointHandler ) . listen ( 8081 ) ;
70+ http . createServer ( httpEndPointHandler ) . listen ( settings . general . port . value ) ;
7171
7272console . info ( '*********************************************************************' ) ;
7373console . info ( '************************* GATEWAY APP START *************************' ) ;
Original file line number Diff line number Diff line change 7171 editable : false ,
7272 description : 'the port at which the gateway.js socket app is listening' ,
7373 } ,
74+ port : {
75+ value : 8081 ,
76+ type : 'number' ,
77+ editable : false ,
78+ description : 'the port at which the web app is listening' ,
79+ } ,
7480 genNodeIfNoMatch : {
7581 value : 'false' ,
7682 description : 'generate a new node even if the data received does not match any metric definition, default = false' ,
You can’t perform that action at this time.
0 commit comments