Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / api / version / index.js
index 4e80c34..0aace95 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcc26=['isAuthenticated','canUpdate','fetch','reset','pull','/restart','restart','/migrations','migrations','exports','../../components/auth/service','./version.controller','get','index','/fetch'];(function(_0x5b2718,_0xde6f39){var _0x52e010=function(_0x34a088){while(--_0x34a088){_0x5b2718['push'](_0x5b2718['shift']());}};_0x52e010(++_0xde6f39);}(_0xcc26,0x73));var _0x6cc2=function(_0x2e41e2,_0x4e7250){_0x2e41e2=_0x2e41e2-0x0;var _0x2844d6=_0xcc26[_0x2e41e2];return _0x2844d6;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x6cc2('0x0'));var controller=require(_0x6cc2('0x1'));router[_0x6cc2('0x2')]('/',controller[_0x6cc2('0x3')]);router[_0x6cc2('0x2')](_0x6cc2('0x4'),auth[_0x6cc2('0x5')](),auth[_0x6cc2('0x6')](),controller[_0x6cc2('0x7')]);router['get']('/reset',auth[_0x6cc2('0x5')](),auth[_0x6cc2('0x6')](),controller[_0x6cc2('0x8')]);router['get']('/pull',auth[_0x6cc2('0x5')](),auth['canUpdate'](),controller[_0x6cc2('0x9')]);router[_0x6cc2('0x2')](_0x6cc2('0xa'),auth[_0x6cc2('0x5')](),controller[_0x6cc2('0xb')]);router['get'](_0x6cc2('0xc'),controller[_0x6cc2('0xd')]);module[_0x6cc2('0xe')]=router;
\ No newline at end of file
+var _0xbe83=['../../components/auth/service','./version.controller','index','fetch','get','/reset','isAuthenticated','canUpdate','/pull','pull','/restart','/migrations','migrations','exports','express','Router'];(function(_0x35da42,_0x5c2610){var _0x370035=function(_0x546db5){while(--_0x546db5){_0x35da42['push'](_0x35da42['shift']());}};_0x370035(++_0x5c2610);}(_0xbe83,0xde));var _0x3be8=function(_0x56a54d,_0x2d8014){_0x56a54d=_0x56a54d-0x0;var _0x2c507f=_0xbe83[_0x56a54d];return _0x2c507f;};'use strict';var express=require(_0x3be8('0x0'));var router=express[_0x3be8('0x1')]();var auth=require(_0x3be8('0x2'));var controller=require(_0x3be8('0x3'));router['get']('/',controller[_0x3be8('0x4')]);router['get']('/fetch',auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x3be8('0x5')]);router[_0x3be8('0x6')](_0x3be8('0x7'),auth[_0x3be8('0x8')](),auth[_0x3be8('0x9')](),controller['reset']);router[_0x3be8('0x6')](_0x3be8('0xa'),auth['isAuthenticated'](),auth[_0x3be8('0x9')](),controller[_0x3be8('0xb')]);router['get'](_0x3be8('0xc'),auth[_0x3be8('0x8')](),controller['restart']);router[_0x3be8('0x6')](_0x3be8('0xd'),controller[_0x3be8('0xe')]);module[_0x3be8('0xf')]=router;
\ No newline at end of file