Built motion from commit (unavailable).|2.3.3
[motion2.git] / server / services / express / index.js
index 76e18b7..ef11f1d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x008c=['../../config/triggers','default','../../routes','once','listening','log','Express\x20server\x20listening\x20on\x20port\x20%d!','exports','lodash','http','express','sticky-session','ioredis','createServer','timeout','listen','port','socket.io','websocket','polling','redis','defaults','localhost','socket.io-redis'];(function(_0x58fc2f,_0x111399){var _0x3a1312=function(_0x3d2ff2){while(--_0x3d2ff2){_0x58fc2f['push'](_0x58fc2f['shift']());}};_0x3a1312(++_0x111399);}(_0x008c,0x188));var _0xc008=function(_0xe5e3fb,_0x2fa636){_0xe5e3fb=_0xe5e3fb-0x0;var _0xdc5834=_0x008c[_0xe5e3fb];return _0xdc5834;};'use strict';var _=require(_0xc008('0x0'));var http=require(_0xc008('0x1'));var express=require(_0xc008('0x2'));var sticky=require(_0xc008('0x3'));var Redis=require(_0xc008('0x4'));var config=require('../../config/environment');var app=express();var server=http[_0xc008('0x5')](app);server[_0xc008('0x6')]=0xdbba0;if(sticky[_0xc008('0x7')](server,config[_0xc008('0x8')])){var socketio=require(_0xc008('0x9'))(server,{'transports':[_0xc008('0xa'),_0xc008('0xb')]});config[_0xc008('0xc')]=_[_0xc008('0xd')](config['redis'],{'host':_0xc008('0xe'),'port':0x18eb});socketio['adapter'](require(_0xc008('0xf'))({'pubClient':new Redis(config['redis']),'subClient':new Redis(config['redis'])}));require(_0xc008('0x10'))[_0xc008('0x11')]();require('../../config/socketio')['default'](socketio);require('../../config/express')[_0xc008('0x11')](app);require(_0xc008('0x12'))['default'](app);}else{server[_0xc008('0x13')](_0xc008('0x14'),function(){console[_0xc008('0x15')](_0xc008('0x16'),config[_0xc008('0x8')]);});}exports=module[_0xc008('0x17')]=app;
\ No newline at end of file
+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