fix(server): switch name to syncloungeserver

This commit is contained in:
Travis Shivers 2020-09-26 18:09:27 -05:00
parent 7bbe28167d
commit 7eba6a708e
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env node
const syncloungeSocket = require('syncloungesocket');
const syncloungeServer = require('syncloungeserver');
const path = require('path');
const config = require('./config');
@ -13,7 +13,7 @@ const handle = (signal) => {
process.on('SIGINT', handle);
process.on('SIGTERM', handle);
const blockList = Object.keys(syncloungeSocket.defaultConfig);
const blockList = Object.keys(syncloungeServer.defaultConfig);
const appConfig = config.get(null, blockList);
console.log(appConfig);
@ -24,8 +24,8 @@ const preStaticInjection = (router) => {
});
};
const socketConfig = syncloungeSocket.getConfig();
syncloungeSocket.socketServer({
const socketConfig = syncloungeServer.getConfig();
syncloungeServer.socketServer({
...socketConfig,
static_path: path.join(__dirname, 'dist'),
preStaticInjection,