add some missing module requirements

merge-requests/30/head
Moe 2018-10-03 09:37:34 -07:00
parent 7caf1199cc
commit 11533f8f7a
3 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,8 @@ var crypto = require('crypto');
var exec = require('child_process').exec;
var spawn = require('child_process').spawn;
var events = require('events');
var http = require('http');
var https = require('https');
module.exports = function(s,config){
//kill any ffmpeg running
s.ffmpegKill=function(){

View File

@ -1,3 +1,6 @@
var http = require('http');
var https = require('https');
var express = require('express');
module.exports = function(s,config,lang){
//setup Master for childNodes
if(config.childNodes.enabled === true && config.childNodes.mode === 'master'){

View File

@ -294,7 +294,7 @@ module.exports = function(s,config,lang){
}
request({url:d.url,method:'GET'},function(err,data){
if(err){
//could not start hotswap
}else{
delete(s.group[d.ke].users[d.auth])
d.cx.f='detector_record_engaged';