Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / system / index.js
index 497154f..9fcdd82 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x966a=['./system.controller','get','index','isAuthenticated','killProcess','exports','express','Router'];(function(_0x20b1ca,_0xcaa99b){var _0x13a457=function(_0x49b381){while(--_0x49b381){_0x20b1ca['push'](_0x20b1ca['shift']());}};_0x13a457(++_0xcaa99b);}(_0x966a,0x16e));var _0xa966=function(_0x1bf2c2,_0x6f3632){_0x1bf2c2=_0x1bf2c2-0x0;var _0x384ef3=_0x966a[_0x1bf2c2];return _0x384ef3;};'use strict';var express=require(_0xa966('0x0'));var router=express[_0xa966('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa966('0x2'));router[_0xa966('0x3')]('/',auth['isAuthenticated'](),controller[_0xa966('0x4')]);router[_0xa966('0x3')]('/process/:pid/kill',auth[_0xa966('0x5')](),controller[_0xa966('0x6')]);module[_0xa966('0x7')]=router;
\ No newline at end of file
+var _0x1235=['isAuthenticated','index','/process/:pid/kill','killProcess','exports','../../components/auth/service','get'];(function(_0xb91914,_0x3a7730){var _0x9c9a18=function(_0xc67878){while(--_0xc67878){_0xb91914['push'](_0xb91914['shift']());}};_0x9c9a18(++_0x3a7730);}(_0x1235,0x1b0));var _0x5123=function(_0x5b81fb,_0x1f8b2e){_0x5b81fb=_0x5b81fb-0x0;var _0x1ee356=_0x1235[_0x5b81fb];return _0x1ee356;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x5123('0x0'));var controller=require('./system.controller');router[_0x5123('0x1')]('/',auth[_0x5123('0x2')](),controller[_0x5123('0x3')]);router[_0x5123('0x1')](_0x5123('0x4'),auth[_0x5123('0x2')](),controller[_0x5123('0x5')]);module[_0x5123('0x6')]=router;
\ No newline at end of file