Built motion from commit (unavailable).|2.5.20
[motion2.git] / server / api / version / index.js
index e113591..e18eb91 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc50d=['get','index','canUpdate','/reset','pull','/migrations','migrations','exports','Router','../../components/auth/service','./version.controller'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xc50d,0x1aa));var _0xdc50=function(_0x2ffc72,_0x2e8c8d){_0x2ffc72=_0x2ffc72-0x0;var _0x4f9029=_0xc50d[_0x2ffc72];return _0x4f9029;};'use strict';var express=require('express');var router=express[_0xdc50('0x0')]();var auth=require(_0xdc50('0x1'));var controller=require(_0xdc50('0x2'));router[_0xdc50('0x3')]('/',controller[_0xdc50('0x4')]);router[_0xdc50('0x3')]('/fetch',auth['isAuthenticated'](),auth[_0xdc50('0x5')](),controller['fetch']);router['get'](_0xdc50('0x6'),auth['isAuthenticated'](),auth['canUpdate'](),controller['reset']);router[_0xdc50('0x3')]('/pull',auth['isAuthenticated'](),auth[_0xdc50('0x5')](),controller[_0xdc50('0x7')]);router[_0xdc50('0x3')]('/restart',auth['isAuthenticated'](),controller['restart']);router[_0xdc50('0x3')](_0xdc50('0x8'),controller[_0xdc50('0x9')]);module[_0xdc50('0xa')]=router;
\ No newline at end of file
+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