Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / services / express / index.js
index 01f3447..8baa731 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xef2f=['adapter','socket.io-redis','../../config/triggers','default','../../config/socketio','../../config/express','../../routes','once','listening','log','Express\x20server\x20listening\x20on\x20port\x20%d!','exports','lodash','http','express','sticky-session','ioredis','../../config/environment','listen','port','socket.io','websocket','polling','defaults','redis'];(function(_0x391a73,_0x1d926b){var _0xc46f1f=function(_0x27bf33){while(--_0x27bf33){_0x391a73['push'](_0x391a73['shift']());}};_0xc46f1f(++_0x1d926b);}(_0xef2f,0x89));var _0xfef2=function(_0x2cfb58,_0x3d9412){_0x2cfb58=_0x2cfb58-0x0;var _0xd99951=_0xef2f[_0x2cfb58];return _0xd99951;};'use strict';var _=require(_0xfef2('0x0'));var http=require(_0xfef2('0x1'));var express=require(_0xfef2('0x2'));var sticky=require(_0xfef2('0x3'));var Redis=require(_0xfef2('0x4'));var config=require(_0xfef2('0x5'));var app=express();var server=http['createServer'](app);server['timeout']=0xdbba0;if(sticky[_0xfef2('0x6')](server,config[_0xfef2('0x7')])){var socketio=require(_0xfef2('0x8'))(server,{'transports':[_0xfef2('0x9'),_0xfef2('0xa')]});config['redis']=_[_0xfef2('0xb')](config[_0xfef2('0xc')],{'host':'localhost','port':0x18eb});socketio[_0xfef2('0xd')](require(_0xfef2('0xe'))({'pubClient':new Redis(config['redis']),'subClient':new Redis(config['redis'])}));require(_0xfef2('0xf'))[_0xfef2('0x10')]();require(_0xfef2('0x11'))[_0xfef2('0x10')](socketio);require(_0xfef2('0x12'))['default'](app);require(_0xfef2('0x13'))[_0xfef2('0x10')](app);}else{server[_0xfef2('0x14')](_0xfef2('0x15'),function(){console[_0xfef2('0x16')](_0xfef2('0x17'),config[_0xfef2('0x7')]);});}exports=module[_0xfef2('0x18')]=app;
\ No newline at end of file
+var _0x43f3=['express','ioredis','../../config/environment','createServer','timeout','listen','port','socket.io','websocket','polling','redis','localhost','adapter','socket.io-redis','../../config/triggers','default','../../config/socketio','../../config/express','../../routes','once','listening','log','Express\x20server\x20listening\x20on\x20port\x20%d!','exports','lodash','http'];(function(_0x3e6658,_0x1d4744){var _0x53c5c3=function(_0x45e51f){while(--_0x45e51f){_0x3e6658['push'](_0x3e6658['shift']());}};_0x53c5c3(++_0x1d4744);}(_0x43f3,0x150));var _0x343f=function(_0x41ee16,_0xfa94c3){_0x41ee16=_0x41ee16-0x0;var _0x1f60de=_0x43f3[_0x41ee16];return _0x1f60de;};'use strict';var _=require(_0x343f('0x0'));var http=require(_0x343f('0x1'));var express=require(_0x343f('0x2'));var sticky=require('sticky-session');var Redis=require(_0x343f('0x3'));var config=require(_0x343f('0x4'));var app=express();var server=http[_0x343f('0x5')](app);server[_0x343f('0x6')]=0xdbba0;if(sticky[_0x343f('0x7')](server,config[_0x343f('0x8')])){var socketio=require(_0x343f('0x9'))(server,{'transports':[_0x343f('0xa'),_0x343f('0xb')]});config[_0x343f('0xc')]=_['defaults'](config[_0x343f('0xc')],{'host':_0x343f('0xd'),'port':0x18eb});socketio[_0x343f('0xe')](require(_0x343f('0xf'))({'pubClient':new Redis(config[_0x343f('0xc')]),'subClient':new Redis(config['redis'])}));require(_0x343f('0x10'))[_0x343f('0x11')]();require(_0x343f('0x12'))[_0x343f('0x11')](socketio);require(_0x343f('0x13'))[_0x343f('0x11')](app);require(_0x343f('0x14'))[_0x343f('0x11')](app);}else{server[_0x343f('0x15')](_0x343f('0x16'),function(){console[_0x343f('0x17')](_0x343f('0x18'),config['port']);});}exports=module[_0x343f('0x19')]=app;
\ No newline at end of file