Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / version / index.js
index 04b6a95..e963967 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xed32=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','exports','Router','../../components/auth/service','get','index','/fetch'];(function(_0x562cd8,_0x19e34d){var _0x16ee9e=function(_0x10637f){while(--_0x10637f){_0x562cd8['push'](_0x562cd8['shift']());}};_0x16ee9e(++_0x19e34d);}(_0xed32,0xeb));var _0x2ed3=function(_0x1caf6a,_0x26a5bf){_0x1caf6a=_0x1caf6a-0x0;var _0x1bf493=_0xed32[_0x1caf6a];return _0x1bf493;};'use strict';var express=require('express');var router=express[_0x2ed3('0x0')]();var auth=require(_0x2ed3('0x1'));var controller=require('./version.controller');router[_0x2ed3('0x2')]('/',controller[_0x2ed3('0x3')]);router['get'](_0x2ed3('0x4'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0x7')]);router[_0x2ed3('0x2')](_0x2ed3('0x8'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0x9')]);router[_0x2ed3('0x2')](_0x2ed3('0xa'),auth[_0x2ed3('0x5')](),auth[_0x2ed3('0x6')](),controller[_0x2ed3('0xb')]);router[_0x2ed3('0x2')](_0x2ed3('0xc'),auth[_0x2ed3('0x5')](),controller[_0x2ed3('0xd')]);router[_0x2ed3('0x2')](_0x2ed3('0xe'),controller['migrations']);module[_0x2ed3('0xf')]=router;
\ No newline at end of file
+var _0xdc73=['index','canUpdate','fetch','isAuthenticated','reset','pull','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get'];(function(_0x3439ea,_0x3c68ba){var _0x3900a3=function(_0x38f9a5){while(--_0x38f9a5){_0x3439ea['push'](_0x3439ea['shift']());}};_0x3900a3(++_0x3c68ba);}(_0xdc73,0xa3));var _0x3dc7=function(_0x123e94,_0x10c06d){_0x123e94=_0x123e94-0x0;var _0x4b8834=_0xdc73[_0x123e94];return _0x4b8834;};'use strict';var express=require(_0x3dc7('0x0'));var router=express[_0x3dc7('0x1')]();var auth=require(_0x3dc7('0x2'));var controller=require(_0x3dc7('0x3'));router[_0x3dc7('0x4')]('/',controller[_0x3dc7('0x5')]);router['get']('/fetch',auth['isAuthenticated'](),auth[_0x3dc7('0x6')](),controller[_0x3dc7('0x7')]);router[_0x3dc7('0x4')]('/reset',auth[_0x3dc7('0x8')](),auth[_0x3dc7('0x6')](),controller[_0x3dc7('0x9')]);router[_0x3dc7('0x4')]('/pull',auth[_0x3dc7('0x8')](),auth[_0x3dc7('0x6')](),controller[_0x3dc7('0xa')]);router[_0x3dc7('0x4')]('/restart',auth[_0x3dc7('0x8')](),controller['restart']);router[_0x3dc7('0x4')](_0x3dc7('0xb'),controller[_0x3dc7('0xc')]);module[_0x3dc7('0xd')]=router;
\ No newline at end of file