Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / version / index.js
index e18eb91..28e640a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4eae=['index','isAuthenticated','canUpdate','/reset','reset','/pull','pull','/restart','restart','/migrations','migrations','Router','get'];(function(_0x17a647,_0x2bbe12){var _0x219a38=function(_0x131c5d){while(--_0x131c5d){_0x17a647['push'](_0x17a647['shift']());}};_0x219a38(++_0x2bbe12);}(_0x4eae,0x102));var _0xe4ea=function(_0x7c0074,_0x1ffdcf){_0x7c0074=_0x7c0074-0x0;var _0x13e95b=_0x4eae[_0x7c0074];return _0x13e95b;};'use strict';var express=require('express');var router=express[_0xe4ea('0x0')]();var auth=require('../../components/auth/service');var controller=require('./version.controller');router[_0xe4ea('0x1')]('/',controller[_0xe4ea('0x2')]);router[_0xe4ea('0x1')]('/fetch',auth[_0xe4ea('0x3')](),auth[_0xe4ea('0x4')](),controller['fetch']);router[_0xe4ea('0x1')](_0xe4ea('0x5'),auth[_0xe4ea('0x3')](),auth[_0xe4ea('0x4')](),controller[_0xe4ea('0x6')]);router[_0xe4ea('0x1')](_0xe4ea('0x7'),auth[_0xe4ea('0x3')](),auth[_0xe4ea('0x4')](),controller[_0xe4ea('0x8')]);router['get'](_0xe4ea('0x9'),auth[_0xe4ea('0x3')](),controller[_0xe4ea('0xa')]);router['get'](_0xe4ea('0xb'),controller[_0xe4ea('0xc')]);module['exports']=router;
\ No newline at end of file
+var _0xa317=['index','isAuthenticated','canUpdate','fetch','/reset','reset','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get'];(function(_0xae334e,_0x27a6c6){var _0x205ab4=function(_0x46a243){while(--_0x46a243){_0xae334e['push'](_0xae334e['shift']());}};_0x205ab4(++_0x27a6c6);}(_0xa317,0x14f));var _0x7a31=function(_0x905a94,_0x5694bd){_0x905a94=_0x905a94-0x0;var _0x33c5d5=_0xa317[_0x905a94];return _0x33c5d5;};'use strict';var express=require(_0x7a31('0x0'));var router=express[_0x7a31('0x1')]();var auth=require(_0x7a31('0x2'));var controller=require(_0x7a31('0x3'));router[_0x7a31('0x4')]('/',controller[_0x7a31('0x5')]);router[_0x7a31('0x4')]('/fetch',auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0x8')]);router['get'](_0x7a31('0x9'),auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0xa')]);router[_0x7a31('0x4')]('/pull',auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0xb')]);router[_0x7a31('0x4')](_0x7a31('0xc'),auth['isAuthenticated'](),controller[_0x7a31('0xd')]);router[_0x7a31('0x4')](_0x7a31('0xe'),controller[_0x7a31('0xf')]);module[_0x7a31('0x10')]=router;
\ No newline at end of file