Don't run interactive
This commit is contained in:
@@ -33,7 +33,6 @@ const expressSession = require('express-session');
|
|||||||
const RedisStore = require('connect-redis')(expressSession);
|
const RedisStore = require('connect-redis')(expressSession);
|
||||||
const sharedSession = require('express-socket.io-session');
|
const sharedSession = require('express-socket.io-session');
|
||||||
const interactiveServer = require('./lib/interactiveServer');
|
const interactiveServer = require('./lib/interactiveServer');
|
||||||
const interactiveClient = require('./lib/interactiveClient');
|
|
||||||
|
|
||||||
/* eslint-disable no-console */
|
/* eslint-disable no-console */
|
||||||
console.log('- process.env.DEBUG:', process.env.DEBUG);
|
console.log('- process.env.DEBUG:', process.env.DEBUG);
|
||||||
@@ -122,10 +121,6 @@ async function run()
|
|||||||
// Open the interactive server.
|
// Open the interactive server.
|
||||||
await interactiveServer(rooms, peers);
|
await interactiveServer(rooms, peers);
|
||||||
|
|
||||||
// Open the interactive client.
|
|
||||||
if (process.env.INTERACTIVE === 'true' || process.env.INTERACTIVE === '1')
|
|
||||||
await interactiveClient();
|
|
||||||
|
|
||||||
if (typeof(config.auth) === 'undefined')
|
if (typeof(config.auth) === 'undefined')
|
||||||
{
|
{
|
||||||
logger.warn('Auth is not configured properly!');
|
logger.warn('Auth is not configured properly!');
|
||||||
|
|||||||
Reference in New Issue
Block a user