Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / version / index.js
index 16523fd..7b256c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaf4=['restart','/migrations','migrations','exports','express','Router','../../components/auth/service','get','index','/fetch','isAuthenticated','canUpdate','/reset','pull'];(function(_0x8d3b4b,_0xd1db47){var _0x509753=function(_0x2e5ef8){while(--_0x2e5ef8){_0x8d3b4b['push'](_0x8d3b4b['shift']());}};_0x509753(++_0xd1db47);}(_0xbaf4,0x17e));var _0x4baf=function(_0x589576,_0x1660e3){_0x589576=_0x589576-0x0;var _0x506c93=_0xbaf4[_0x589576];return _0x506c93;};'use strict';var express=require(_0x4baf('0x0'));var router=express[_0x4baf('0x1')]();var auth=require(_0x4baf('0x2'));var controller=require('./version.controller');router[_0x4baf('0x3')]('/',controller[_0x4baf('0x4')]);router[_0x4baf('0x3')](_0x4baf('0x5'),auth[_0x4baf('0x6')](),auth[_0x4baf('0x7')](),controller['fetch']);router['get'](_0x4baf('0x8'),auth['isAuthenticated'](),auth['canUpdate'](),controller['reset']);router['get']('/pull',auth[_0x4baf('0x6')](),auth['canUpdate'](),controller[_0x4baf('0x9')]);router['get']('/restart',auth[_0x4baf('0x6')](),controller[_0x4baf('0xa')]);router[_0x4baf('0x3')](_0x4baf('0xb'),controller[_0x4baf('0xc')]);module[_0x4baf('0xd')]=router;
\ No newline at end of file
+var _0x18b0=['/migrations','migrations','express','Router','./version.controller','get','index','isAuthenticated','canUpdate','reset','/pull','pull','/restart'];(function(_0x3297a1,_0x117206){var _0x12077e=function(_0x44c79e){while(--_0x44c79e){_0x3297a1['push'](_0x3297a1['shift']());}};_0x12077e(++_0x117206);}(_0x18b0,0xec));var _0x018b=function(_0x28e4ef,_0x508d01){_0x28e4ef=_0x28e4ef-0x0;var _0x3ccaea=_0x18b0[_0x28e4ef];return _0x3ccaea;};'use strict';var express=require(_0x018b('0x0'));var router=express[_0x018b('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x018b('0x2'));router[_0x018b('0x3')]('/',controller[_0x018b('0x4')]);router[_0x018b('0x3')]('/fetch',auth[_0x018b('0x5')](),auth[_0x018b('0x6')](),controller['fetch']);router[_0x018b('0x3')]('/reset',auth[_0x018b('0x5')](),auth[_0x018b('0x6')](),controller[_0x018b('0x7')]);router[_0x018b('0x3')](_0x018b('0x8'),auth[_0x018b('0x5')](),auth['canUpdate'](),controller[_0x018b('0x9')]);router[_0x018b('0x3')](_0x018b('0xa'),auth[_0x018b('0x5')](),controller['restart']);router[_0x018b('0x3')](_0x018b('0xb'),controller[_0x018b('0xc')]);module['exports']=router;
\ No newline at end of file