Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / version / index.js
index e77763a..e4833a5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x41ca=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','/migrations','migrations','express','Router','./version.controller','get','index','/fetch'];(function(_0x558f84,_0x3c4dfd){var _0x225d3f=function(_0x4b8aba){while(--_0x4b8aba){_0x558f84['push'](_0x558f84['shift']());}};_0x225d3f(++_0x3c4dfd);}(_0x41ca,0xba));var _0xa41c=function(_0x249c94,_0xc350a5){_0x249c94=_0x249c94-0x0;var _0x44587c=_0x41ca[_0x249c94];return _0x44587c;};'use strict';var express=require(_0xa41c('0x0'));var router=express[_0xa41c('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xa41c('0x2'));router[_0xa41c('0x3')]('/',controller[_0xa41c('0x4')]);router[_0xa41c('0x3')](_0xa41c('0x5'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0x8')]);router['get'](_0xa41c('0x9'),auth['isAuthenticated'](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xa')]);router['get'](_0xa41c('0xb'),auth[_0xa41c('0x6')](),auth[_0xa41c('0x7')](),controller[_0xa41c('0xc')]);router['get'](_0xa41c('0xd'),auth[_0xa41c('0x6')](),controller['restart']);router['get'](_0xa41c('0xe'),controller[_0xa41c('0xf')]);module['exports']=router;
\ No newline at end of file
+var _0x41c2=['exports','express','Router','../../components/auth/service','get','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','pull','/restart','restart','/migrations','migrations'];(function(_0x1324d2,_0x5c9db9){var _0x442a24=function(_0x4c68de){while(--_0x4c68de){_0x1324d2['push'](_0x1324d2['shift']());}};_0x442a24(++_0x5c9db9);}(_0x41c2,0x1d1));var _0x241c=function(_0x3389e2,_0x3d5bcf){_0x3389e2=_0x3389e2-0x0;var _0x1313fc=_0x41c2[_0x3389e2];return _0x1313fc;};'use strict';var express=require(_0x241c('0x0'));var router=express[_0x241c('0x1')]();var auth=require(_0x241c('0x2'));var controller=require('./version.controller');router[_0x241c('0x3')]('/',controller['index']);router['get'](_0x241c('0x4'),auth[_0x241c('0x5')](),auth[_0x241c('0x6')](),controller[_0x241c('0x7')]);router[_0x241c('0x3')](_0x241c('0x8'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x241c('0x9')]);router[_0x241c('0x3')]('/pull',auth[_0x241c('0x5')](),auth['canUpdate'](),controller[_0x241c('0xa')]);router[_0x241c('0x3')](_0x241c('0xb'),auth[_0x241c('0x5')](),controller[_0x241c('0xc')]);router[_0x241c('0x3')](_0x241c('0xd'),controller[_0x241c('0xe')]);module[_0x241c('0xf')]=router;
\ No newline at end of file