Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / system / index.js
index f0fa460..e16f982 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe61a=['killProcess','express','Router','./system.controller','isAuthenticated','index','get'];(function(_0x5e7514,_0x30c2e1){var _0x12f472=function(_0x33ddb6){while(--_0x33ddb6){_0x5e7514['push'](_0x5e7514['shift']());}};_0x12f472(++_0x30c2e1);}(_0xe61a,0x120));var _0xae61=function(_0x31680a,_0x36eec6){_0x31680a=_0x31680a-0x0;var _0x4813fd=_0xe61a[_0x31680a];return _0x4813fd;};'use strict';var express=require(_0xae61('0x0'));var router=express[_0xae61('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xae61('0x2'));router['get']('/',auth[_0xae61('0x3')](),controller[_0xae61('0x4')]);router[_0xae61('0x5')]('/process/:pid/kill',auth[_0xae61('0x3')](),controller[_0xae61('0x6')]);module['exports']=router;
\ No newline at end of file
+var _0x186e=['isAuthenticated','killProcess','exports','express','Router','../../components/auth/service','./system.controller','get','index','/process/:pid/kill'];(function(_0x4067ac,_0x363603){var _0x53d74d=function(_0x492ad4){while(--_0x492ad4){_0x4067ac['push'](_0x4067ac['shift']());}};_0x53d74d(++_0x363603);}(_0x186e,0xb7));var _0xe186=function(_0xd7b801,_0x131442){_0xd7b801=_0xd7b801-0x0;var _0x5059be=_0x186e[_0xd7b801];return _0x5059be;};'use strict';var express=require(_0xe186('0x0'));var router=express[_0xe186('0x1')]();var auth=require(_0xe186('0x2'));var controller=require(_0xe186('0x3'));router[_0xe186('0x4')]('/',auth['isAuthenticated'](),controller[_0xe186('0x5')]);router[_0xe186('0x4')](_0xe186('0x6'),auth[_0xe186('0x7')](),controller[_0xe186('0x8')]);module[_0xe186('0x9')]=router;
\ No newline at end of file