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