Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / version / index.js
index a8981f2..9edc5c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0a96=['restart','/migrations','migrations','exports','express','Router','../../components/auth/service','get','index','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','pull'];(function(_0x3b0912,_0x39d739){var _0xa8f339=function(_0x6a31ab){while(--_0x6a31ab){_0x3b0912['push'](_0x3b0912['shift']());}};_0xa8f339(++_0x39d739);}(_0x0a96,0xe4));var _0x60a9=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x0a96[_0x122ef9];return _0x42fba0;};'use strict';var express=require(_0x60a9('0x0'));var router=express[_0x60a9('0x1')]();var auth=require(_0x60a9('0x2'));var controller=require('./version.controller');router[_0x60a9('0x3')]('/',controller[_0x60a9('0x4')]);router[_0x60a9('0x3')](_0x60a9('0x5'),auth[_0x60a9('0x6')](),auth[_0x60a9('0x7')](),controller[_0x60a9('0x8')]);router[_0x60a9('0x3')](_0x60a9('0x9'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x60a9('0xa')]);router['get']('/pull',auth[_0x60a9('0x6')](),auth[_0x60a9('0x7')](),controller[_0x60a9('0xb')]);router[_0x60a9('0x3')]('/restart',auth[_0x60a9('0x6')](),controller[_0x60a9('0xc')]);router['get'](_0x60a9('0xd'),controller[_0x60a9('0xe')]);module[_0x60a9('0xf')]=router;
\ No newline at end of file
+var _0xb968=['canUpdate','fetch','get','/reset','reset','/restart','restart','migrations','exports','express','../../components/auth/service','./version.controller','index','/fetch'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb968,0xe9));var _0x8b96=function(_0x2fbabe,_0x45bebc){_0x2fbabe=_0x2fbabe-0x0;var _0x79e99c=_0xb968[_0x2fbabe];return _0x79e99c;};'use strict';var express=require(_0x8b96('0x0'));var router=express['Router']();var auth=require(_0x8b96('0x1'));var controller=require(_0x8b96('0x2'));router['get']('/',controller[_0x8b96('0x3')]);router['get'](_0x8b96('0x4'),auth['isAuthenticated'](),auth[_0x8b96('0x5')](),controller[_0x8b96('0x6')]);router[_0x8b96('0x7')](_0x8b96('0x8'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x8b96('0x9')]);router[_0x8b96('0x7')]('/pull',auth['isAuthenticated'](),auth[_0x8b96('0x5')](),controller['pull']);router['get'](_0x8b96('0xa'),auth['isAuthenticated'](),controller[_0x8b96('0xb')]);router[_0x8b96('0x7')]('/migrations',controller[_0x8b96('0xc')]);module[_0x8b96('0xd')]=router;
\ No newline at end of file