X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fsystem%2Findex.js;h=3a78faeedac7ec924b8b031926b5dffaa7e878ce;hb=3b98a30f4ada10cd5d8b95df3555955dc5830a8a;hp=614327646952cad37b466a186fe9b45ef5e9f1c4;hpb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;p=motion2.git diff --git a/server/api/system/index.js b/server/api/system/index.js index 6143276..3a78fae 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 _0xbe40=['exports','express','Router','../../components/auth/service','get','isAuthenticated','killProcess'];(function(_0x44946b,_0xf874ec){var _0x249bc4=function(_0x40a23e){while(--_0x40a23e){_0x44946b['push'](_0x44946b['shift']());}};_0x249bc4(++_0xf874ec);}(_0xbe40,0x119));var _0x0be4=function(_0x578fcb,_0x14b111){_0x578fcb=_0x578fcb-0x0;var _0x236536=_0xbe40[_0x578fcb];return _0x236536;};'use strict';var express=require(_0x0be4('0x0'));var router=express[_0x0be4('0x1')]();var auth=require(_0x0be4('0x2'));var controller=require('./system.controller');router[_0x0be4('0x3')]('/',auth[_0x0be4('0x4')](),controller['index']);router[_0x0be4('0x3')]('/process/:pid/kill',auth[_0x0be4('0x4')](),controller[_0x0be4('0x5')]);module[_0x0be4('0x6')]=router; \ No newline at end of file +var _0x9799=['get','isAuthenticated','/process/:pid/kill','killProcess','exports','express','../../components/auth/service'];(function(_0x1b9563,_0x153971){var _0x1284b3=function(_0x13b034){while(--_0x13b034){_0x1b9563['push'](_0x1b9563['shift']());}};_0x1284b3(++_0x153971);}(_0x9799,0x171));var _0x9979=function(_0x2c52d0,_0x3c034a){_0x2c52d0=_0x2c52d0-0x0;var _0x286eb9=_0x9799[_0x2c52d0];return _0x286eb9;};'use strict';var express=require(_0x9979('0x0'));var router=express['Router']();var auth=require(_0x9979('0x1'));var controller=require('./system.controller');router[_0x9979('0x2')]('/',auth[_0x9979('0x3')](),controller['index']);router[_0x9979('0x2')](_0x9979('0x4'),auth[_0x9979('0x3')](),controller[_0x9979('0x5')]);module[_0x9979('0x6')]=router; \ No newline at end of file