X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fsystem%2Findex.js;h=497154f4c3b7ee13e3a8f3a30a356608bcfcce62;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=3e24a73b003430b38e988c2f6103ce7e5266e2c7;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/system/index.js b/server/api/system/index.js index 3e24a73..497154f 100644 --- a/server/api/system/index.js +++ b/server/api/system/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcff2=['Router','../../components/auth/service','get','isAuthenticated','index','/process/:pid/kill','express'];(function(_0x52599d,_0x5d8a4e){var _0x395e94=function(_0x595eeb){while(--_0x595eeb){_0x52599d['push'](_0x52599d['shift']());}};_0x395e94(++_0x5d8a4e);}(_0xcff2,0x172));var _0x2cff=function(_0x555ebb,_0x4b1b68){_0x555ebb=_0x555ebb-0x0;var _0x3c0a4a=_0xcff2[_0x555ebb];return _0x3c0a4a;};'use strict';var express=require(_0x2cff('0x0'));var router=express[_0x2cff('0x1')]();var auth=require(_0x2cff('0x2'));var controller=require('./system.controller');router[_0x2cff('0x3')]('/',auth[_0x2cff('0x4')](),controller[_0x2cff('0x5')]);router[_0x2cff('0x3')](_0x2cff('0x6'),auth[_0x2cff('0x4')](),controller['killProcess']);module['exports']=router; \ No newline at end of file +var _0x966a=['./system.controller','get','index','isAuthenticated','killProcess','exports','express','Router'];(function(_0x20b1ca,_0xcaa99b){var _0x13a457=function(_0x49b381){while(--_0x49b381){_0x20b1ca['push'](_0x20b1ca['shift']());}};_0x13a457(++_0xcaa99b);}(_0x966a,0x16e));var _0xa966=function(_0x1bf2c2,_0x6f3632){_0x1bf2c2=_0x1bf2c2-0x0;var _0x384ef3=_0x966a[_0x1bf2c2];return _0x384ef3;};'use strict';var express=require(_0xa966('0x0'));var router=express[_0xa966('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa966('0x2'));router[_0xa966('0x3')]('/',auth['isAuthenticated'](),controller[_0xa966('0x4')]);router[_0xa966('0x3')]('/process/:pid/kill',auth[_0xa966('0x5')](),controller[_0xa966('0x6')]);module[_0xa966('0x7')]=router; \ No newline at end of file