Built motion from commit e155ad4.|0.0.101
[motion.git] / server / config / express.js
index 7485887..df2fed1 100644 (file)
@@ -1 +1 @@
-var _0xe895=["\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","\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"];_0xe895[0];var express=require(_0xe895[1]);var favicon=require(_0xe895[2]);var morgan=require(_0xe895[3]);var compression=require(_0xe895[4]);var bodyParser=require(_0xe895[5]);var methodOverride=require(_0xe895[6]);var cookieParser=require(_0xe895[7]);var errorHandler=require(_0xe895[8]);var path=require(_0xe895[9]);var passport=require(_0xe895[10]);var session=require(_0xe895[11]);var flash=require(_0xe895[12]);var SessionStore=require(_0xe895[13]);var session=require(_0xe895[11]);var config=require(_0xe895[14]);module[_0xe895[15]]=function(_0x2d4exf){var _0x2d4ex10=_0x2d4exf[_0xe895[17]](_0xe895[16]);_0x2d4exf[_0xe895[21]](_0xe895[18],config[_0xe895[19]]+_0xe895[20]);_0x2d4exf[_0xe895[25]](_0xe895[22],require(_0xe895[24])[_0xe895[23]]);_0x2d4exf[_0xe895[21]](_0xe895[26],_0xe895[22]);_0x2d4exf[_0xe895[27]](compression());_0x2d4exf[_0xe895[27]](bodyParser[_0xe895[28]]({extended:false}));_0x2d4exf[_0xe895[27]](bodyParser[_0xe895[29]]());_0x2d4exf[_0xe895[27]](methodOverride());_0x2d4exf[_0xe895[27]](cookieParser());_0x2d4exf[_0xe895[27]](passport[_0xe895[30]]());_0x2d4exf[_0xe895[27]](session({secret:config[_0xe895[32]][_0xe895[31]],store: new SessionStore({host:config[_0xe895[34]][_0xe895[33]],port:config[_0xe895[34]][_0xe895[35]],user:config[_0xe895[34]][_0xe895[36]],password:config[_0xe895[34]][_0xe895[37]],database:config[_0xe895[34]][_0xe895[38]]}),cookie:config[_0xe895[32]][_0xe895[39]],name:config[_0xe895[32]][_0xe895[40]],resave:true,saveUninitialized:true}));if(_0xe895[41]===_0x2d4ex10){_0x2d4exf[_0xe895[27]](favicon(path[_0xe895[44]](config[_0xe895[19]],_0xe895[42],_0xe895[43])));_0x2d4exf[_0xe895[27]](express[_0xe895[45]](path[_0xe895[44]](config[_0xe895[19]],_0xe895[42])));_0x2d4exf[_0xe895[21]](_0xe895[46],config[_0xe895[19]]+_0xe895[47]);_0x2d4exf[_0xe895[27]](morgan(_0xe895[48]));};if(_0xe895[49]===_0x2d4ex10||_0xe895[50]===_0x2d4ex10){_0x2d4exf[_0xe895[27]](require(_0xe895[51])());_0x2d4exf[_0xe895[27]](express[_0xe895[45]](path[_0xe895[44]](config[_0xe895[19]],_0xe895[52])));_0x2d4exf[_0xe895[27]](express[_0xe895[45]](path[_0xe895[44]](config[_0xe895[19]],_0xe895[53])));_0x2d4exf[_0xe895[21]](_0xe895[46],_0xe895[53]);_0x2d4exf[_0xe895[27]](morgan(_0xe895[48]));_0x2d4exf[_0xe895[27]](errorHandler());};_0x2d4exf[_0xe895[27]](flash());};
\ No newline at end of file
+var _0xf048=["\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","\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"];_0xf048[0];var express=require(_0xf048[1]);var favicon=require(_0xf048[2]);var morgan=require(_0xf048[3]);var compression=require(_0xf048[4]);var bodyParser=require(_0xf048[5]);var queryParser=require(_0xf048[6]);var methodOverride=require(_0xf048[7]);var cookieParser=require(_0xf048[8]);var errorHandler=require(_0xf048[9]);var path=require(_0xf048[10]);var passport=require(_0xf048[11]);var session=require(_0xf048[12]);var flash=require(_0xf048[13]);var SessionStore=require(_0xf048[14])(session);var config=require(_0xf048[15]);module[_0xf048[16]]=function(_0x8ea9x10){var _0x8ea9x11=_0x8ea9x10[_0xf048[18]](_0xf048[17]);_0x8ea9x10[_0xf048[22]](_0xf048[19],config[_0xf048[20]]+_0xf048[21]);_0x8ea9x10[_0xf048[26]](_0xf048[23],require(_0xf048[25])[_0xf048[24]]);_0x8ea9x10[_0xf048[22]](_0xf048[27],_0xf048[23]);_0x8ea9x10[_0xf048[28]](compression());_0x8ea9x10[_0xf048[28]](bodyParser[_0xf048[29]]({extended:false}));_0x8ea9x10[_0xf048[28]](bodyParser[_0xf048[30]]());_0x8ea9x10[_0xf048[28]](methodOverride());_0x8ea9x10[_0xf048[28]](cookieParser());_0x8ea9x10[_0xf048[28]](passport[_0xf048[31]]());_0x8ea9x10[_0xf048[28]](session({secret:config[_0xf048[33]][_0xf048[32]],store: new SessionStore({host:config[_0xf048[35]][_0xf048[34]],port:config[_0xf048[35]][_0xf048[36]],user:config[_0xf048[35]][_0xf048[37]],password:config[_0xf048[35]][_0xf048[38]],database:config[_0xf048[35]][_0xf048[39]]}),cookie:config[_0xf048[33]][_0xf048[40]],name:config[_0xf048[33]][_0xf048[41]],resave:true,saveUninitialized:true}));if(_0xf048[42]===_0x8ea9x11){_0x8ea9x10[_0xf048[28]](favicon(path[_0xf048[45]](config[_0xf048[20]],_0xf048[43],_0xf048[44])));_0x8ea9x10[_0xf048[28]](express[_0xf048[46]](path[_0xf048[45]](config[_0xf048[20]],_0xf048[43])));_0x8ea9x10[_0xf048[22]](_0xf048[47],config[_0xf048[20]]+_0xf048[48]);morgan[_0xf048[55]](_0xf048[49],function(_0x8ea9x12,_0x8ea9x13){return _0x8ea9x12[_0xf048[51]][_0xf048[50]]?_0x8ea9x12[_0xf048[51]][_0xf048[50]]:_0x8ea9x12[_0xf048[53]][_0xf048[52]]||_0x8ea9x12[_0xf048[54]]});_0x8ea9x10[_0xf048[28]](morgan(_0xf048[56]))};if(_0xf048[57]===_0x8ea9x11||_0xf048[58]===_0x8ea9x11){_0x8ea9x10[_0xf048[28]](require(_0xf048[59])());_0x8ea9x10[_0xf048[28]](express[_0xf048[46]](path[_0xf048[45]](config[_0xf048[20]],_0xf048[60])));_0x8ea9x10[_0xf048[28]](express[_0xf048[46]](path[_0xf048[45]](config[_0xf048[20]],_0xf048[61])));_0x8ea9x10[_0xf048[22]](_0xf048[47],_0xf048[61]);morgan[_0xf048[55]](_0xf048[49],function(_0x8ea9x12,_0x8ea9x13){return _0x8ea9x12[_0xf048[51]][_0xf048[50]]?_0x8ea9x12[_0xf048[51]][_0xf048[50]]:_0x8ea9x12[_0xf048[53]][_0xf048[52]]||_0x8ea9x12[_0xf048[54]]});_0x8ea9x10[_0xf048[28]](morgan(_0xf048[56]));_0x8ea9x10[_0xf048[28]](errorHandler())};_0x8ea9x10[_0xf048[28]](flash())}
\ No newline at end of file