Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / system / index.js
index 75b1b2a..dc4d324 100644 (file)
@@ -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 _0x5f2b=['./system.controller','get','index','/process/:pid/kill','isAuthenticated','killProcess','exports','express','Router','../../components/auth/service'];(function(_0x2f5ac5,_0x1ee939){var _0x37c9a8=function(_0x15031f){while(--_0x15031f){_0x2f5ac5['push'](_0x2f5ac5['shift']());}};_0x37c9a8(++_0x1ee939);}(_0x5f2b,0xb1));var _0xb5f2=function(_0x12ea78,_0xdfff14){_0x12ea78=_0x12ea78-0x0;var _0x5b6500=_0x5f2b[_0x12ea78];return _0x5b6500;};'use strict';var express=require(_0xb5f2('0x0'));var router=express[_0xb5f2('0x1')]();var auth=require(_0xb5f2('0x2'));var controller=require(_0xb5f2('0x3'));router[_0xb5f2('0x4')]('/',auth['isAuthenticated'](),controller[_0xb5f2('0x5')]);router['get'](_0xb5f2('0x6'),auth[_0xb5f2('0x7')](),controller[_0xb5f2('0x8')]);module[_0xb5f2('0x9')]=router;
\ No newline at end of file