Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / version / index.js
index 92854b1..9edc5c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d47=['/restart','restart','/migrations','migrations','exports','express','Router','./version.controller','get','index','canUpdate','/reset','reset','/pull','isAuthenticated','pull'];(function(_0x257579,_0x627180){var _0x1a329d=function(_0x27e1f8){while(--_0x27e1f8){_0x257579['push'](_0x257579['shift']());}};_0x1a329d(++_0x627180);}(_0x2d47,0x115));var _0x72d4=function(_0x1f4295,_0x5d0590){_0x1f4295=_0x1f4295-0x0;var _0x39070e=_0x2d47[_0x1f4295];return _0x39070e;};'use strict';var express=require(_0x72d4('0x0'));var router=express[_0x72d4('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x72d4('0x2'));router[_0x72d4('0x3')]('/',controller[_0x72d4('0x4')]);router['get']('/fetch',auth['isAuthenticated'](),auth[_0x72d4('0x5')](),controller['fetch']);router[_0x72d4('0x3')](_0x72d4('0x6'),auth['isAuthenticated'](),auth[_0x72d4('0x5')](),controller[_0x72d4('0x7')]);router[_0x72d4('0x3')](_0x72d4('0x8'),auth[_0x72d4('0x9')](),auth[_0x72d4('0x5')](),controller[_0x72d4('0xa')]);router[_0x72d4('0x3')](_0x72d4('0xb'),auth[_0x72d4('0x9')](),controller[_0x72d4('0xc')]);router[_0x72d4('0x3')](_0x72d4('0xd'),controller[_0x72d4('0xe')]);module[_0x72d4('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