revert server changes
This commit is contained in:
parent
f0b099d9f7
commit
64275cfd22
1 changed files with 2 additions and 4 deletions
|
|
@ -25,14 +25,12 @@ const config = {
|
|||
},
|
||||
};
|
||||
|
||||
|
||||
|
||||
const osc = new OSC({ plugin: new OSC.BridgePlugin(config) });
|
||||
|
||||
osc.open(); // start a WebSocket server on port 8080
|
||||
|
||||
osc.on('*', (message) => {
|
||||
console.log(JSON.stringify(message.args));
|
||||
});
|
||||
|
||||
console.log('osc client running on port', config.udpClient.port);
|
||||
console.log('osc server running on port', config.udpServer.port);
|
||||
console.log('websocket server running on port', config.wsServer.port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue