Built motion from commit c36c9c6.|1.0.17
[motion.git] / server / config / express.js
index 9ba54d9..5e8a68f 100644 (file)
@@ -1 +1 @@
-var _0x12af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x73\x65\x72\x76\x65\x2D\x66\x61\x76\x69\x63\x6F\x6E","\x6D\x6F\x72\x67\x61\x6E","\x63\x6F\x6D\x70\x72\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79\x2D\x70\x61\x72\x73\x65\x72","\x65\x78\x70\x72\x65\x73\x73\x2D\x71\x75\x65\x72\x79\x2D\x69\x6E\x74","\x6D\x65\x74\x68\x6F\x64\x2D\x6F\x76\x65\x72\x72\x69\x64\x65","\x63\x6F\x6F\x6B\x69\x65\x2D\x70\x61\x72\x73\x65\x72","\x65\x72\x72\x6F\x72\x68\x61\x6E\x64\x6C\x65\x72","\x70\x61\x74\x68","\x70\x61\x73\x73\x70\x6F\x72\x74","\x65\x78\x70\x72\x65\x73\x73\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x66\x6C\x61\x73\x68","\x65\x78\x70\x72\x65\x73\x73\x2D\x6D\x79\x73\x71\x6C\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x76\x69\x65\x77\x73","\x72\x6F\x6F\x74","\x2F\x73\x65\x72\x76\x65\x72\x2F\x76\x69\x65\x77\x73","\x73\x65\x74","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72\x46\x69\x6C\x65","\x65\x6A\x73","\x65\x6E\x67\x69\x6E\x65","\x76\x69\x65\x77\x20\x65\x6E\x67\x69\x6E\x65","\x75\x73\x65","\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6A\x73\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x68\x6F\x73\x74","\x64\x62","\x70\x6F\x72\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x63\x6F\x6F\x6B\x69\x65","\x6E\x61\x6D\x65","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x70\x75\x62\x6C\x69\x63","\x66\x61\x76\x69\x63\x6F\x6E\x2E\x69\x63\x6F","\x6A\x6F\x69\x6E","\x73\x74\x61\x74\x69\x63","\x61\x70\x70\x50\x61\x74\x68","\x2F\x70\x75\x62\x6C\x69\x63","\x64\x65\x76","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x6C\x69\x76\x65\x72\x65\x6C\x6F\x61\x64","\x2E\x74\x6D\x70","\x63\x6C\x69\x65\x6E\x74"];_0x12af[0];var express=require(_0x12af[1]);var favicon=require(_0x12af[2]);var morgan=require(_0x12af[3]);var compression=require(_0x12af[4]);var bodyParser=require(_0x12af[5]);var queryParser=require(_0x12af[6]);var methodOverride=require(_0x12af[7]);var cookieParser=require(_0x12af[8]);var errorHandler=require(_0x12af[9]);var path=require(_0x12af[10]);var passport=require(_0x12af[11]);var session=require(_0x12af[12]);var flash=require(_0x12af[13]);var SessionStore=require(_0x12af[14]);var session=require(_0x12af[12]);var config=require(_0x12af[15]);module[_0x12af[16]]=function(_0xa8bax10){var _0xa8bax11=_0xa8bax10[_0x12af[18]](_0x12af[17]);_0xa8bax10[_0x12af[22]](_0x12af[19],config[_0x12af[20]]+_0x12af[21]);_0xa8bax10[_0x12af[26]](_0x12af[23],require(_0x12af[25])[_0x12af[24]]);_0xa8bax10[_0x12af[22]](_0x12af[27],_0x12af[23]);_0xa8bax10[_0x12af[28]](compression());_0xa8bax10[_0x12af[28]](bodyParser[_0x12af[29]]({extended:false}));_0xa8bax10[_0x12af[28]](bodyParser[_0x12af[30]]());_0xa8bax10[_0x12af[28]](methodOverride());_0xa8bax10[_0x12af[28]](cookieParser());_0xa8bax10[_0x12af[28]](passport[_0x12af[31]]());_0xa8bax10[_0x12af[28]](session({secret:config[_0x12af[33]][_0x12af[32]],store: new SessionStore({host:config[_0x12af[35]][_0x12af[34]],port:config[_0x12af[35]][_0x12af[36]],user:config[_0x12af[35]][_0x12af[37]],password:config[_0x12af[35]][_0x12af[38]],database:config[_0x12af[35]][_0x12af[39]]}),cookie:config[_0x12af[33]][_0x12af[40]],name:config[_0x12af[33]][_0x12af[41]],resave:true,saveUninitialized:true}));if(_0x12af[42]===_0xa8bax11){_0xa8bax10[_0x12af[28]](favicon(path[_0x12af[45]](config[_0x12af[20]],_0x12af[43],_0x12af[44])));_0xa8bax10[_0x12af[28]](express[_0x12af[46]](path[_0x12af[45]](config[_0x12af[20]],_0x12af[43])));_0xa8bax10[_0x12af[22]](_0x12af[47],config[_0x12af[20]]+_0x12af[48]);_0xa8bax10[_0x12af[28]](morgan(_0x12af[49]))};if(_0x12af[50]===_0xa8bax11||_0x12af[51]===_0xa8bax11){_0xa8bax10[_0x12af[28]](require(_0x12af[52])());_0xa8bax10[_0x12af[28]](express[_0x12af[46]](path[_0x12af[45]](config[_0x12af[20]],_0x12af[53])));_0xa8bax10[_0x12af[28]](express[_0x12af[46]](path[_0x12af[45]](config[_0x12af[20]],_0x12af[54])));_0xa8bax10[_0x12af[22]](_0x12af[47],_0x12af[54]);_0xa8bax10[_0x12af[28]](morgan(_0x12af[49]));_0xa8bax10[_0x12af[28]](errorHandler())};_0xa8bax10[_0x12af[28]](flash())}
\ No newline at end of file
+var _0xe747=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x73\x65\x72\x76\x65\x2D\x66\x61\x76\x69\x63\x6F\x6E","\x6D\x6F\x72\x67\x61\x6E","\x63\x6F\x6D\x70\x72\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79\x2D\x70\x61\x72\x73\x65\x72","\x65\x78\x70\x72\x65\x73\x73\x2D\x71\x75\x65\x72\x79\x2D\x69\x6E\x74","\x6D\x65\x74\x68\x6F\x64\x2D\x6F\x76\x65\x72\x72\x69\x64\x65","\x63\x6F\x6F\x6B\x69\x65\x2D\x70\x61\x72\x73\x65\x72","\x65\x72\x72\x6F\x72\x68\x61\x6E\x64\x6C\x65\x72","\x70\x61\x74\x68","\x70\x61\x73\x73\x70\x6F\x72\x74","\x65\x78\x70\x72\x65\x73\x73\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x66\x6C\x61\x73\x68","\x65\x78\x70\x72\x65\x73\x73\x2D\x6D\x79\x73\x71\x6C\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x76\x69\x65\x77\x73","\x72\x6F\x6F\x74","\x2F\x73\x65\x72\x76\x65\x72\x2F\x76\x69\x65\x77\x73","\x73\x65\x74","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72\x46\x69\x6C\x65","\x65\x6A\x73","\x65\x6E\x67\x69\x6E\x65","\x76\x69\x65\x77\x20\x65\x6E\x67\x69\x6E\x65","\x63\x72\x6F\x73\x73\x44\x6F\x6D\x61\x69\x6E","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x43\x72\x6F\x73\x73\x2D\x64\x6F\x6D\x61\x69\x6E\x20\x72\x65\x71\x75\x65\x73\x74\x73\x20\x65\x6E\x61\x62\x6C\x65\x64","\x6C\x6F\x67","\x41\x63\x63\x65\x73\x73\x2D\x43\x6F\x6E\x74\x72\x6F\x6C\x2D\x41\x6C\x6C\x6F\x77\x2D\x4F\x72\x69\x67\x69\x6E","\x2A","\x68\x65\x61\x64\x65\x72","\x41\x63\x63\x65\x73\x73\x2D\x43\x6F\x6E\x74\x72\x6F\x6C\x2D\x41\x6C\x6C\x6F\x77\x2D\x48\x65\x61\x64\x65\x72\x73","\x58\x2D\x52\x65\x71\x75\x65\x73\x74\x65\x64\x2D\x57\x69\x74\x68","\x75\x73\x65","\x35\x30\x6D\x62","\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6A\x73\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x68\x6F\x73\x74","\x64\x62","\x70\x6F\x72\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x63\x6F\x6F\x6B\x69\x65","\x6E\x61\x6D\x65","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x77\x77\x77","\x6A\x6F\x69\x6E","\x65\x78\x69\x73\x74\x73\x53\x79\x6E\x63","\x2F\x77\x77\x77","\x73\x74\x61\x74\x69\x63","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x70\x75\x62\x6C\x69\x63","\x66\x61\x76\x69\x63\x6F\x6E\x2E\x69\x63\x6F","\x61\x70\x70\x50\x61\x74\x68","\x2F\x70\x75\x62\x6C\x69\x63","\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x68\x65\x61\x64\x65\x72\x73","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x74\x6F\x6B\x65\x6E","\x3A\x6D\x65\x74\x68\x6F\x64\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x75\x73\x65\x72\x20\x3A\x75\x72\x6C\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x3A\x72\x65\x73\x70\x6F\x6E\x73\x65\x2D\x74\x69\x6D\x65\x20\x6D\x73\x20\x2D\x20\x3A\x72\x65\x73\x5B\x63\x6F\x6E\x74\x65\x6E\x74\x2D\x6C\x65\x6E\x67\x74\x68\x5D","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x6C\x69\x76\x65\x72\x65\x6C\x6F\x61\x64","\x2E\x74\x6D\x70","\x63\x6C\x69\x65\x6E\x74"];_0xe747[0];var express=require(_0xe747[1]);var favicon=require(_0xe747[2]);var morgan=require(_0xe747[3]);var compression=require(_0xe747[4]);var bodyParser=require(_0xe747[5]);var queryParser=require(_0xe747[6]);var methodOverride=require(_0xe747[7]);var cookieParser=require(_0xe747[8]);var errorHandler=require(_0xe747[9]);var path=require(_0xe747[10]);var passport=require(_0xe747[11]);var session=require(_0xe747[12]);var flash=require(_0xe747[13]);var SessionStore=require(_0xe747[14])(session);var config=require(_0xe747[15]);var fs=require(_0xe747[16]);module[_0xe747[17]]= function(_0xfabcx11){var _0xfabcx12=_0xfabcx11[_0xe747[19]](_0xe747[18]);_0xfabcx11[_0xe747[23]](_0xe747[20],config[_0xe747[21]]+ _0xe747[22]);_0xfabcx11[_0xe747[27]](_0xe747[24],require(_0xe747[26])[_0xe747[25]]);_0xfabcx11[_0xe747[23]](_0xe747[28],_0xe747[24]);if(!config[_0xe747[30]](_0xe747[29])|| config[_0xe747[29]]){console[_0xe747[32]](_0xe747[31]);_0xfabcx11[_0xe747[38]](function(_0xfabcx13,_0xfabcx14,_0xfabcx15){_0xfabcx14[_0xe747[35]](_0xe747[33],_0xe747[34]);_0xfabcx14[_0xe747[35]](_0xe747[36],_0xe747[37]);_0xfabcx15()})};_0xfabcx11[_0xe747[38]](compression());_0xfabcx11[_0xe747[38]](bodyParser[_0xe747[40]]({limit:_0xe747[39],extended:false}));_0xfabcx11[_0xe747[38]](bodyParser[_0xe747[41]]({limit:_0xe747[39]}));_0xfabcx11[_0xe747[38]](methodOverride());_0xfabcx11[_0xe747[38]](cookieParser());_0xfabcx11[_0xe747[38]](passport[_0xe747[42]]());_0xfabcx11[_0xe747[38]](session({secret:config[_0xe747[44]][_0xe747[43]],store: new SessionStore({host:config[_0xe747[46]][_0xe747[45]],port:config[_0xe747[46]][_0xe747[47]],user:config[_0xe747[46]][_0xe747[48]],password:config[_0xe747[46]][_0xe747[49]],database:config[_0xe747[46]][_0xe747[50]]}),cookie:config[_0xe747[44]][_0xe747[51]],name:config[_0xe747[44]][_0xe747[52]],resave:true,saveUninitialized:true}));if(fs[_0xe747[57]](path[_0xe747[56]](config[_0xe747[21]],_0xe747[53],_0xe747[54],_0xe747[55]))){_0xfabcx11[_0xe747[38]](_0xe747[58],express[_0xe747[59]](path[_0xe747[56]](config[_0xe747[21]],_0xe747[53],_0xe747[54],_0xe747[55])))};if(_0xe747[60]=== _0xfabcx12){_0xfabcx11[_0xe747[38]](favicon(path[_0xe747[56]](config[_0xe747[21]],_0xe747[61],_0xe747[62])));_0xfabcx11[_0xe747[38]](express[_0xe747[59]](path[_0xe747[56]](config[_0xe747[21]],_0xe747[61])));_0xfabcx11[_0xe747[23]](_0xe747[63],config[_0xe747[21]]+ _0xe747[64]);morgan[_0xe747[71]](_0xe747[65],function(_0xfabcx13,_0xfabcx14){return _0xfabcx13[_0xe747[67]][_0xe747[66]]?_0xfabcx13[_0xe747[67]][_0xe747[66]]:_0xfabcx13[_0xe747[69]][_0xe747[68]]|| _0xfabcx13[_0xe747[70]]});_0xfabcx11[_0xe747[38]](morgan(_0xe747[72]))};if(_0xe747[73]=== _0xfabcx12|| _0xe747[74]=== _0xfabcx12){_0xfabcx11[_0xe747[38]](require(_0xe747[75])());_0xfabcx11[_0xe747[38]](express[_0xe747[59]](path[_0xe747[56]](config[_0xe747[21]],_0xe747[76])));_0xfabcx11[_0xe747[38]](express[_0xe747[59]](path[_0xe747[56]](config[_0xe747[21]],_0xe747[77])));_0xfabcx11[_0xe747[23]](_0xe747[63],_0xe747[77]);morgan[_0xe747[71]](_0xe747[65],function(_0xfabcx13,_0xfabcx14){return _0xfabcx13[_0xe747[67]][_0xe747[66]]?_0xfabcx13[_0xe747[67]][_0xe747[66]]:_0xfabcx13[_0xe747[69]][_0xe747[68]]|| _0xfabcx13[_0xe747[70]]});_0xfabcx11[_0xe747[38]](morgan(_0xe747[72]));_0xfabcx11[_0xe747[38]](errorHandler())};_0xfabcx11[_0xe747[38]](flash())}
\ No newline at end of file