This commit is contained in:
Karl Hudgell 2019-07-14 10:27:37 +01:00
parent 33150da9c8
commit 57d97b0d9b
2 changed files with 5 additions and 5 deletions

View File

@ -8,6 +8,6 @@ RUN npm install
COPY . . COPY . .
EXPOSE 3000 10001/udp EXPOSE 3000 10001
CMD [ "node", "Example.js" ] CMD [ "node", "Example.js" ]

View File

@ -11,8 +11,8 @@ const settings = {
plugInfo : [ plugInfo : [
// Add uid and a name so you can easily identify the connected sockets // Add uid and a name so you can easily identify the connected sockets
{ {
uid :'53dd7fe74de7', uid :'5ccf7f22fba4',
name: "Lamp in Kitchen" name: "3D Printer"
}, },
], ],
}; };
@ -73,4 +73,4 @@ httpServer.listen(httpPort, (err) => {
return console.log('something bad happened', err) return console.log('something bad happened', err)
} }
console.log(`http server is listening on ${httpPort}`) console.log(`http server is listening on ${httpPort}`)
}); });