Built motion from commit 67e5df37.|2.0.60
[motion2.git] / server / services / express / index.js
1 var _0xe1a5=["\x75\x73\x65\x20\x73\x63\x72\x69\x70\x74","\x68\x74\x74\x70","\x65\x78\x70\x72\x65\x73\x73","\x73\x74\x69\x63\x6B\x79\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x74\x69\x6D\x65\x6F\x75\x74","\x70\x6F\x72\x74","\x6C\x69\x73\x74\x65\x6E","\x77\x65\x62\x73\x6F\x63\x6B\x65\x74","\x70\x6F\x6C\x6C\x69\x6E\x67","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F","\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F\x2D\x72\x65\x64\x69\x73","\x61\x64\x61\x70\x74\x65\x72","\x64\x65\x66\x61\x75\x6C\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x74\x72\x69\x67\x67\x65\x72\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6F\x63\x6B\x65\x74\x69\x6F","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x72\x6F\x75\x74\x65\x73","\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67","\x45\x78\x70\x72\x65\x73\x73\x20\x73\x65\x72\x76\x65\x72\x20\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x70\x6F\x72\x74\x20\x25\x64\x21","\x6C\x6F\x67","\x6F\x6E\x63\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe1a5[0];var http=require(_0xe1a5[1]);var express=require(_0xe1a5[2]);var sticky=require(_0xe1a5[3]);var config=require(_0xe1a5[4]);var app=express();var server=http[_0xe1a5[5]](app);server[_0xe1a5[6]]= 900000;if(sticky[_0xe1a5[8]](server,config[_0xe1a5[7]])){var socketio=require(_0xe1a5[11])(server,{transports:[_0xe1a5[9],_0xe1a5[10]]});socketio[_0xe1a5[14]](require(_0xe1a5[13])({host:_0xe1a5[12],port:6379}));require(_0xe1a5[16])[_0xe1a5[15]]();require(_0xe1a5[17])[_0xe1a5[15]](socketio);require(_0xe1a5[18])[_0xe1a5[15]](app);require(_0xe1a5[19])[_0xe1a5[15]](app)}else {server[_0xe1a5[23]](_0xe1a5[20],function(){console[_0xe1a5[22]](_0xe1a5[21],config[_0xe1a5[7]])})};exports= module[_0xe1a5[24]]= app