some text changes, minor syntax stuffs

This commit is contained in:
Josh Burman 2019-03-17 22:10:42 -04:00
parent e7437a89f8
commit f8676246da
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ class MHSChannel extends ChannelBase {
client.ws.send(message); client.ws.send(message);
logger.accessLog.info(`sent to ${client.id}: `, {message: message}); logger.accessLog.info(`sent to ${client.id}: `, {message: message});
} else { } else {
logger.accessLog.info(`client is same as sender: ${client.id} - `, {message: message}); logger.accessLog.info(`client either not a teacher or is the sender: ${client.id} - `, {message: message});
} }
} }

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
version : '0.8.6', version : '0.9.1',
whitelist : (process.env.WHITELIST || "http://admin.localhost").split(','), whitelist : (process.env.WHITELIST || "http://admin.localhost").split(','),
secret : process.env.SECRET || "test", secret : process.env.SECRET || "test",
devToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImNsaWVudCI6InRlc3QiLCJjbGllbnRfdHlwZSI6InNpdGUiLCJ1c2VyX3R5cGUiOiJ1c2VyIiwidXNlcl9pZCI6MjAwLCJjaGFubmVsIjoidGVzdF9jaGFubmVsIn0sImF1ZCI6ImludGVybmFsIiwiaXNzIjoiWWFyZHN0aWNrIFNvZnR3YXJlIiwic3ViIjoiQnJhaWQgSldUIn0.5KNCov_EW1cycT4Ay0oSvk4Z4PHFedd3bWOyqkHHTBQ', devToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImNsaWVudCI6InRlc3QiLCJjbGllbnRfdHlwZSI6InNpdGUiLCJ1c2VyX3R5cGUiOiJ1c2VyIiwidXNlcl9pZCI6MjAwLCJjaGFubmVsIjoidGVzdF9jaGFubmVsIn0sImF1ZCI6ImludGVybmFsIiwiaXNzIjoiWWFyZHN0aWNrIFNvZnR3YXJlIiwic3ViIjoiQnJhaWQgSldUIn0.5KNCov_EW1cycT4Ay0oSvk4Z4PHFedd3bWOyqkHHTBQ',

View File

@ -52,7 +52,7 @@ function connectionManager() {
channelManager.addClientToChannel(client, data.channel); channelManager.addClientToChannel(client, data.channel);
} }
ws.send('Hi there, welcome to braid, Measures Web Socket server.\nConnecting all our services!'); ws.send(`Hi there, welcome to braid, Measures Web Socket server. Connecting all our services!\nYou are currently in channel: ${data.channel}`);
}); });
} }