Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / api / version / index.js
index 9147298..63bd048 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc974=['/reset','/pull','/restart','/migrations','migrations','exports','Router','./version.controller','get','isAuthenticated','canUpdate'];(function(_0x178b10,_0x478129){var _0x322ee1=function(_0x4d43c5){while(--_0x4d43c5){_0x178b10['push'](_0x178b10['shift']());}};_0x322ee1(++_0x478129);}(_0xc974,0x17c));var _0x4c97=function(_0x40b46c,_0x7ae0df){_0x40b46c=_0x40b46c-0x0;var _0x4bbdee=_0xc974[_0x40b46c];return _0x4bbdee;};'use strict';var express=require('express');var router=express[_0x4c97('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x4c97('0x1'));router[_0x4c97('0x2')]('/',controller['index']);router[_0x4c97('0x2')]('/fetch',auth[_0x4c97('0x3')](),auth[_0x4c97('0x4')](),controller['fetch']);router[_0x4c97('0x2')](_0x4c97('0x5'),auth[_0x4c97('0x3')](),auth[_0x4c97('0x4')](),controller['reset']);router[_0x4c97('0x2')](_0x4c97('0x6'),auth[_0x4c97('0x3')](),auth['canUpdate'](),controller['pull']);router[_0x4c97('0x2')](_0x4c97('0x7'),auth['isAuthenticated'](),controller['restart']);router[_0x4c97('0x2')](_0x4c97('0x8'),controller[_0x4c97('0x9')]);module[_0x4c97('0xa')]=router;
\ No newline at end of file
+var _0xfb54=['/reset','/pull','pull','/restart','isAuthenticated','restart','/migrations','migrations','exports','express','get','index','/fetch','canUpdate','fetch'];(function(_0x458dad,_0x573c0b){var _0x534d3a=function(_0x5889af){while(--_0x5889af){_0x458dad['push'](_0x458dad['shift']());}};_0x534d3a(++_0x573c0b);}(_0xfb54,0x153));var _0x4fb5=function(_0x18c6d8,_0x2268f5){_0x18c6d8=_0x18c6d8-0x0;var _0x5317ec=_0xfb54[_0x18c6d8];return _0x5317ec;};'use strict';var express=require(_0x4fb5('0x0'));var router=express['Router']();var auth=require('../../components/auth/service');var controller=require('./version.controller');router[_0x4fb5('0x1')]('/',controller[_0x4fb5('0x2')]);router[_0x4fb5('0x1')](_0x4fb5('0x3'),auth['isAuthenticated'](),auth[_0x4fb5('0x4')](),controller[_0x4fb5('0x5')]);router[_0x4fb5('0x1')](_0x4fb5('0x6'),auth['isAuthenticated'](),auth['canUpdate'](),controller['reset']);router[_0x4fb5('0x1')](_0x4fb5('0x7'),auth['isAuthenticated'](),auth[_0x4fb5('0x4')](),controller[_0x4fb5('0x8')]);router[_0x4fb5('0x1')](_0x4fb5('0x9'),auth[_0x4fb5('0xa')](),controller[_0x4fb5('0xb')]);router[_0x4fb5('0x1')](_0x4fb5('0xc'),controller[_0x4fb5('0xd')]);module[_0x4fb5('0xe')]=router;
\ No newline at end of file