Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / services / express / index.js
index ef11f1d..2c57081 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5b3=['socket.io-redis','default','../../config/socketio','../../config/express','listening','log','Express\x20server\x20listening\x20on\x20port\x20%d!','exports','http','express','sticky-session','ioredis','../../config/environment','createServer','timeout','listen','port','socket.io','websocket','redis','defaults','localhost','adapter'];(function(_0x1c11d7,_0x252b6e){var _0x111ddf=function(_0x3bd0e9){while(--_0x3bd0e9){_0x1c11d7['push'](_0x1c11d7['shift']());}};_0x111ddf(++_0x252b6e);}(_0xe5b3,0x133));var _0x3e5b=function(_0x5be47d,_0x406b8b){_0x5be47d=_0x5be47d-0x0;var _0xf6b85e=_0xe5b3[_0x5be47d];return _0xf6b85e;};'use strict';var _=require('lodash');var http=require(_0x3e5b('0x0'));var express=require(_0x3e5b('0x1'));var sticky=require(_0x3e5b('0x2'));var Redis=require(_0x3e5b('0x3'));var config=require(_0x3e5b('0x4'));var app=express();var server=http[_0x3e5b('0x5')](app);server[_0x3e5b('0x6')]=0xdbba0;if(sticky[_0x3e5b('0x7')](server,config[_0x3e5b('0x8')])){var socketio=require(_0x3e5b('0x9'))(server,{'transports':[_0x3e5b('0xa'),'polling']});config[_0x3e5b('0xb')]=_[_0x3e5b('0xc')](config['redis'],{'host':_0x3e5b('0xd'),'port':0x18eb});socketio[_0x3e5b('0xe')](require(_0x3e5b('0xf'))({'pubClient':new Redis(config[_0x3e5b('0xb')]),'subClient':new Redis(config['redis'])}));require('../../config/triggers')[_0x3e5b('0x10')]();require(_0x3e5b('0x11'))[_0x3e5b('0x10')](socketio);require(_0x3e5b('0x12'))[_0x3e5b('0x10')](app);require('../../routes')[_0x3e5b('0x10')](app);}else{server['once'](_0x3e5b('0x13'),function(){console[_0x3e5b('0x14')](_0x3e5b('0x15'),config[_0x3e5b('0x8')]);});}exports=module[_0x3e5b('0x16')]=app;
\ No newline at end of file
+var _0xca66=['../../config/express','../../routes','once','listening','log','Express\x20server\x20listening\x20on\x20port\x20%d!','exports','lodash','sticky-session','ioredis','../../config/environment','timeout','port','websocket','polling','redis','defaults','localhost','adapter','../../config/triggers','default','../../config/socketio'];(function(_0x307bf6,_0x55bdd5){var _0x2878fc=function(_0x4fa44f){while(--_0x4fa44f){_0x307bf6['push'](_0x307bf6['shift']());}};_0x2878fc(++_0x55bdd5);}(_0xca66,0x8b));var _0x6ca6=function(_0x23848b,_0x59a5e5){_0x23848b=_0x23848b-0x0;var _0x1c5b72=_0xca66[_0x23848b];return _0x1c5b72;};'use strict';var _=require(_0x6ca6('0x0'));var http=require('http');var express=require('express');var sticky=require(_0x6ca6('0x1'));var Redis=require(_0x6ca6('0x2'));var config=require(_0x6ca6('0x3'));var app=express();var server=http['createServer'](app);server[_0x6ca6('0x4')]=0xdbba0;if(sticky['listen'](server,config[_0x6ca6('0x5')])){var socketio=require('socket.io')(server,{'transports':[_0x6ca6('0x6'),_0x6ca6('0x7')]});config[_0x6ca6('0x8')]=_[_0x6ca6('0x9')](config[_0x6ca6('0x8')],{'host':_0x6ca6('0xa'),'port':0x18eb});socketio[_0x6ca6('0xb')](require('socket.io-redis')({'pubClient':new Redis(config[_0x6ca6('0x8')]),'subClient':new Redis(config[_0x6ca6('0x8')])}));require(_0x6ca6('0xc'))[_0x6ca6('0xd')]();require(_0x6ca6('0xe'))[_0x6ca6('0xd')](socketio);require(_0x6ca6('0xf'))['default'](app);require(_0x6ca6('0x10'))[_0x6ca6('0xd')](app);}else{server[_0x6ca6('0x11')](_0x6ca6('0x12'),function(){console[_0x6ca6('0x13')](_0x6ca6('0x14'),config['port']);});}exports=module[_0x6ca6('0x15')]=app;
\ No newline at end of file