X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fsystem%2Findex.js;h=240b09b8a1d2e48c8f1c19672c2bdfc7674ff842;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=75b1b2aa4d5a5444fe11a18330b40da488fc2e3a;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/api/system/index.js b/server/api/system/index.js index 75b1b2a..240b09b 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 _0x87bc=['./system.controller','index','/process/:pid/kill','express','Router'];(function(_0x88fece,_0x3c50e1){var _0x121099=function(_0x3fb5d2){while(--_0x3fb5d2){_0x88fece['push'](_0x88fece['shift']());}};_0x121099(++_0x3c50e1);}(_0x87bc,0x189));var _0xc87b=function(_0x4bc526,_0x1571b6){_0x4bc526=_0x4bc526-0x0;var _0x11627d=_0x87bc[_0x4bc526];return _0x11627d;};'use strict';var express=require(_0xc87b('0x0'));var router=express[_0xc87b('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xc87b('0x2'));router['get']('/',auth['isAuthenticated'](),controller[_0xc87b('0x3')]);router['get'](_0xc87b('0x4'),auth['isAuthenticated'](),controller['killProcess']);module['exports']=router; \ No newline at end of file +var _0xe6ad=['./system.controller','get','isAuthenticated','index','killProcess','exports','express','../../components/auth/service'];(function(_0x1acc41,_0x3fd32c){var _0x1434f9=function(_0x210be3){while(--_0x210be3){_0x1acc41['push'](_0x1acc41['shift']());}};_0x1434f9(++_0x3fd32c);}(_0xe6ad,0x12e));var _0xde6a=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xe6ad[_0x20a584];return _0x4b41a8;};'use strict';var express=require(_0xde6a('0x0'));var router=express['Router']();var auth=require(_0xde6a('0x1'));var controller=require(_0xde6a('0x2'));router[_0xde6a('0x3')]('/',auth[_0xde6a('0x4')](),controller[_0xde6a('0x5')]);router['get']('/process/:pid/kill',auth[_0xde6a('0x4')](),controller[_0xde6a('0x6')]);module[_0xde6a('0x7')]=router; \ No newline at end of file