Built motion from commit 7e022ab.|2.0.15
[motion2.git] / server / services / express / index.js
1 var _0xc210=["\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","\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\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","\x65\x78\x70\x6F\x72\x74\x73"];_0xc210[0];var http=require(_0xc210[1]);var express=require(_0xc210[2]);var sticky=require(_0xc210[3]);var config=require(_0xc210[4]);var app=express();var server=http[_0xc210[5]](app);if(sticky[_0xc210[7]](server,config[_0xc210[6]])){var socketio=require(_0xc210[10])(server,{transports:[_0xc210[8],_0xc210[9]]});socketio[_0xc210[13]](require(_0xc210[12])({host:_0xc210[11],port:6379}));require(_0xc210[15])[_0xc210[14]](socketio);require(_0xc210[16])[_0xc210[14]](app);require(_0xc210[17])[_0xc210[14]](app)};exports= module[_0xc210[18]]= app