Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / version / index.js
index b89b84f..60a86a1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0404=['reset','pull','/restart','restart','/migrations','migrations','Router','../../components/auth/service','./version.controller','get','index','isAuthenticated','canUpdate','fetch'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x0404,0xf4));var _0x4040=function(_0x3b4b1d,_0x15029e){_0x3b4b1d=_0x3b4b1d-0x0;var _0x488c36=_0x0404[_0x3b4b1d];return _0x488c36;};'use strict';var express=require('express');var router=express[_0x4040('0x0')]();var auth=require(_0x4040('0x1'));var controller=require(_0x4040('0x2'));router[_0x4040('0x3')]('/',controller[_0x4040('0x4')]);router[_0x4040('0x3')]('/fetch',auth[_0x4040('0x5')](),auth[_0x4040('0x6')](),controller[_0x4040('0x7')]);router[_0x4040('0x3')]('/reset',auth[_0x4040('0x5')](),auth['canUpdate'](),controller[_0x4040('0x8')]);router['get']('/pull',auth[_0x4040('0x5')](),auth[_0x4040('0x6')](),controller[_0x4040('0x9')]);router['get'](_0x4040('0xa'),auth[_0x4040('0x5')](),controller[_0x4040('0xb')]);router['get'](_0x4040('0xc'),controller[_0x4040('0xd')]);module['exports']=router;
\ No newline at end of file
+var _0x4f00=['./version.controller','get','index','/fetch','isAuthenticated','canUpdate','/reset','reset','/pull','pull','/restart','/migrations','migrations','exports','express','../../components/auth/service'];(function(_0x596e98,_0xc326c9){var _0x1c09ac=function(_0x3d839d){while(--_0x3d839d){_0x596e98['push'](_0x596e98['shift']());}};_0x1c09ac(++_0xc326c9);}(_0x4f00,0x6e));var _0x04f0=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0x4f00[_0xbb091];return _0x467a04;};'use strict';var express=require(_0x04f0('0x0'));var router=express['Router']();var auth=require(_0x04f0('0x1'));var controller=require(_0x04f0('0x2'));router[_0x04f0('0x3')]('/',controller[_0x04f0('0x4')]);router[_0x04f0('0x3')](_0x04f0('0x5'),auth[_0x04f0('0x6')](),auth[_0x04f0('0x7')](),controller['fetch']);router['get'](_0x04f0('0x8'),auth[_0x04f0('0x6')](),auth[_0x04f0('0x7')](),controller[_0x04f0('0x9')]);router[_0x04f0('0x3')](_0x04f0('0xa'),auth[_0x04f0('0x6')](),auth[_0x04f0('0x7')](),controller[_0x04f0('0xb')]);router[_0x04f0('0x3')](_0x04f0('0xc'),auth['isAuthenticated'](),controller['restart']);router[_0x04f0('0x3')](_0x04f0('0xd'),controller[_0x04f0('0xe')]);module[_0x04f0('0xf')]=router;
\ No newline at end of file