X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fsystem%2Findex.js;h=a54cb4ac77a1921b26f04ceafb94914ca0b4f7ec;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=f5c5ae19abbf0799cf7db8b8b2777fcaec75de62;hpb=7e2a86485d5b091066011cf58fcba785923a5ac5;p=motion2.git diff --git a/server/api/system/index.js b/server/api/system/index.js index f5c5ae1..a54cb4a 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 _0x6a27=['killProcess','express','get','isAuthenticated','index','/process/:pid/kill'];(function(_0x4aa3bf,_0x46a115){var _0x3edc8c=function(_0x2c8beb){while(--_0x2c8beb){_0x4aa3bf['push'](_0x4aa3bf['shift']());}};_0x3edc8c(++_0x46a115);}(_0x6a27,0xbb));var _0x76a2=function(_0x1f46e1,_0x118eb6){_0x1f46e1=_0x1f46e1-0x0;var _0x2276ae=_0x6a27[_0x1f46e1];return _0x2276ae;};'use strict';var express=require(_0x76a2('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require('./system.controller');router[_0x76a2('0x1')]('/',auth[_0x76a2('0x2')](),controller[_0x76a2('0x3')]);router[_0x76a2('0x1')](_0x76a2('0x4'),auth[_0x76a2('0x2')](),controller[_0x76a2('0x5')]);module['exports']=router; \ No newline at end of file +var _0x1acd=['get','/process/:pid/kill','killProcess','exports','express','Router','../../components/auth/service','./system.controller','isAuthenticated'];(function(_0x59162a,_0x10e547){var _0x35e50d=function(_0x578425){while(--_0x578425){_0x59162a['push'](_0x59162a['shift']());}};_0x35e50d(++_0x10e547);}(_0x1acd,0x1e1));var _0xd1ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1acd[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0xd1ac('0x0'));var router=express[_0xd1ac('0x1')]();var auth=require(_0xd1ac('0x2'));var controller=require(_0xd1ac('0x3'));router['get']('/',auth[_0xd1ac('0x4')](),controller['index']);router[_0xd1ac('0x5')](_0xd1ac('0x6'),auth[_0xd1ac('0x4')](),controller[_0xd1ac('0x7')]);module[_0xd1ac('0x8')]=router; \ No newline at end of file