Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
fix(server): switch name to syncloungeserver
Browse files Browse the repository at this point in the history
  • Loading branch information
ttshivers committed Sep 26, 2020
1 parent 7bbe281 commit 7eba6a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

const syncloungeSocket = require('syncloungesocket');
const syncloungeServer = require('syncloungeserver');
const path = require('path');
const config = require('./config');

Expand All @@ -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);

Expand All @@ -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,
Expand Down

0 comments on commit 7eba6a7

Please sign in to comment.