X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fsystem%2Findex.js;h=92be4eef2419bd9a04071c948d8288053970b840;hb=bb1bc459ff51c9e3d02337b05bd35dbdea7e939d;hp=16429ed21af70976eefb120cd04d437840e8b0a0;hpb=5083750143c3c88bdac459e1fc96a5f7f552fbd6;p=motion2.git diff --git a/server/api/system/index.js b/server/api/system/index.js index 16429ed..92be4ee 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 _0x152f=['get','index','isAuthenticated','killProcess','exports','Router','../../components/auth/service','./system.controller'];(function(_0x4629ed,_0x59ef85){var _0x52ca04=function(_0x59dc63){while(--_0x59dc63){_0x4629ed['push'](_0x4629ed['shift']());}};_0x52ca04(++_0x59ef85);}(_0x152f,0xed));var _0xf152=function(_0x40bffc,_0x3a45d7){_0x40bffc=_0x40bffc-0x0;var _0x3007e9=_0x152f[_0x40bffc];return _0x3007e9;};'use strict';var express=require('express');var router=express[_0xf152('0x0')]();var auth=require(_0xf152('0x1'));var controller=require(_0xf152('0x2'));router[_0xf152('0x3')]('/',auth['isAuthenticated'](),controller[_0xf152('0x4')]);router['get']('/process/:pid/kill',auth[_0xf152('0x5')](),controller[_0xf152('0x6')]);module[_0xf152('0x7')]=router; \ No newline at end of file +var _0x17dc=['../../components/auth/service','get','isAuthenticated','index','/process/:pid/kill','killProcess','exports','express'];(function(_0x599e60,_0x5b6519){var _0x468e19=function(_0xcdfd97){while(--_0xcdfd97){_0x599e60['push'](_0x599e60['shift']());}};_0x468e19(++_0x5b6519);}(_0x17dc,0x77));var _0xc17d=function(_0x219f7a,_0x5d1ce7){_0x219f7a=_0x219f7a-0x0;var _0x1cdeb2=_0x17dc[_0x219f7a];return _0x1cdeb2;};'use strict';var express=require(_0xc17d('0x0'));var router=express['Router']();var auth=require(_0xc17d('0x1'));var controller=require('./system.controller');router[_0xc17d('0x2')]('/',auth[_0xc17d('0x3')](),controller[_0xc17d('0x4')]);router['get'](_0xc17d('0x5'),auth[_0xc17d('0x3')](),controller[_0xc17d('0x6')]);module[_0xc17d('0x7')]=router; \ No newline at end of file