From 51f000e42ffc4cf23a537aea94b5b0f7b4c710ee Mon Sep 17 00:00:00 2001 From: Josh Burman Date: Mon, 25 Mar 2019 11:13:16 -0400 Subject: [PATCH] proper casing... --- README.md | 2 +- src/channelManager.ts | 2 +- src/config/app.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d37ac66..59ab83d 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# BRAID v1.0 +# BRAID v1.0.5 > Websocket server for the Measure platform [![Build Status](https://semaphoreci.com/api/v1/projects/7767f0f3-4da6-4c84-9167-4db5402a3262/2573412/badge.svg)](https://semaphoreci.com/yardstick/braid) diff --git a/src/channelManager.ts b/src/channelManager.ts index e7c8ad2..fb58f1a 100644 --- a/src/channelManager.ts +++ b/src/channelManager.ts @@ -58,7 +58,7 @@ class ChannelManager { createByChannelType(data: any) { try { - var Channel = require(`./channels/${data.client_type}s/${data.client}channel`); + var Channel = require(`./channels/${data.client_type}s/${data.client}Channel`); logger.accessLog.info(`attempting to create channel of type ${data.client}, channel id: ${data.channel}...`); return new Channel(data.channel); } catch (e) { diff --git a/src/config/app.ts b/src/config/app.ts index 0ff01ab..e2cafc1 100644 --- a/src/config/app.ts +++ b/src/config/app.ts @@ -1,5 +1,5 @@ module.exports = { - version : '1.0', + version : '1.0.5', whitelist : (process.env.WHITELIST || "http://admin.localhost").split(','), secret : process.env.SECRET || "test", devToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImNsaWVudCI6InRlc3QiLCJjbGllbnRfdHlwZSI6InNpdGUiLCJ1c2VyX3R5cGUiOiJ1c2VyIiwidXNlcl9pZCI6MjAwLCJjaGFubmVsIjoidGVzdF9jaGFubmVsIn0sImF1ZCI6ImludGVybmFsIiwiaXNzIjoiWWFyZHN0aWNrIFNvZnR3YXJlIiwic3ViIjoiQnJhaWQgSldUIn0.5KNCov_EW1cycT4Ay0oSvk4Z4PHFedd3bWOyqkHHTBQ',