Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / version / index.js
index 2f3867e..2ae342f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf881=['restart','/migrations','express','Router','get','/fetch','isAuthenticated','fetch','/reset','canUpdate','/restart'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xf881,0x10a));var _0x1f88=function(_0x4fcdc7,_0xf18181){_0x4fcdc7=_0x4fcdc7-0x0;var _0x5001a6=_0xf881[_0x4fcdc7];return _0x5001a6;};'use strict';var express=require(_0x1f88('0x0'));var router=express[_0x1f88('0x1')]();var auth=require('../../components/auth/service');var controller=require('./version.controller');router[_0x1f88('0x2')]('/',controller['index']);router[_0x1f88('0x2')](_0x1f88('0x3'),auth[_0x1f88('0x4')](),auth['canUpdate'](),controller[_0x1f88('0x5')]);router['get'](_0x1f88('0x6'),auth[_0x1f88('0x4')](),auth[_0x1f88('0x7')](),controller['reset']);router[_0x1f88('0x2')]('/pull',auth[_0x1f88('0x4')](),auth[_0x1f88('0x7')](),controller['pull']);router[_0x1f88('0x2')](_0x1f88('0x8'),auth[_0x1f88('0x4')](),controller[_0x1f88('0x9')]);router[_0x1f88('0x2')](_0x1f88('0xa'),controller['migrations']);module['exports']=router;
\ No newline at end of file
+var _0x1319=['exports','express','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate','/reset','reset','/pull','pull','/restart','restart','/migrations','migrations'];(function(_0x55e1d1,_0x3c9376){var _0x1165db=function(_0x5b0120){while(--_0x5b0120){_0x55e1d1['push'](_0x55e1d1['shift']());}};_0x1165db(++_0x3c9376);}(_0x1319,0xd9));var _0x9131=function(_0x1f675c,_0x10144e){_0x1f675c=_0x1f675c-0x0;var _0xf86fa4=_0x1319[_0x1f675c];return _0xf86fa4;};'use strict';var express=require(_0x9131('0x0'));var router=express[_0x9131('0x1')]();var auth=require(_0x9131('0x2'));var controller=require(_0x9131('0x3'));router[_0x9131('0x4')]('/',controller[_0x9131('0x5')]);router['get'](_0x9131('0x6'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller['fetch']);router[_0x9131('0x4')](_0x9131('0x9'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller[_0x9131('0xa')]);router[_0x9131('0x4')](_0x9131('0xb'),auth[_0x9131('0x7')](),auth[_0x9131('0x8')](),controller[_0x9131('0xc')]);router[_0x9131('0x4')](_0x9131('0xd'),auth[_0x9131('0x7')](),controller[_0x9131('0xe')]);router[_0x9131('0x4')](_0x9131('0xf'),controller[_0x9131('0x10')]);module[_0x9131('0x11')]=router;
\ No newline at end of file