Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / version / index.js
index 2f3867e..a956012 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf881=['restart','/migrations','express','Router','get','/fetch','isAuthenticated','fetch','/reset','canUpdate','/restart'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xf881,0x10a));var _0x1f88=function(_0x4fcdc7,_0xf18181){_0x4fcdc7=_0x4fcdc7-0x0;var _0x5001a6=_0xf881[_0x4fcdc7];return _0x5001a6;};'use strict';var express=require(_0x1f88('0x0'));var router=express[_0x1f88('0x1')]();var auth=require('../../components/auth/service');var controller=require('./version.controller');router[_0x1f88('0x2')]('/',controller['index']);router[_0x1f88('0x2')](_0x1f88('0x3'),auth[_0x1f88('0x4')](),auth['canUpdate'](),controller[_0x1f88('0x5')]);router['get'](_0x1f88('0x6'),auth[_0x1f88('0x4')](),auth[_0x1f88('0x7')](),controller['reset']);router[_0x1f88('0x2')]('/pull',auth[_0x1f88('0x4')](),auth[_0x1f88('0x7')](),controller['pull']);router[_0x1f88('0x2')](_0x1f88('0x8'),auth[_0x1f88('0x4')](),controller[_0x1f88('0x9')]);router[_0x1f88('0x2')](_0x1f88('0xa'),controller['migrations']);module['exports']=router;
\ No newline at end of file
+var _0x7cfc=['isAuthenticated','canUpdate','get','/reset','reset','/pull','/restart','restart','migrations','exports','Router','../../components/auth/service','./version.controller','index'];(function(_0xb61329,_0x4e1951){var _0x471ff8=function(_0x46471b){while(--_0x46471b){_0xb61329['push'](_0xb61329['shift']());}};_0x471ff8(++_0x4e1951);}(_0x7cfc,0x1a0));var _0xc7cf=function(_0x5b44c6,_0x86d79f){_0x5b44c6=_0x5b44c6-0x0;var _0x20c5c6=_0x7cfc[_0x5b44c6];return _0x20c5c6;};'use strict';var express=require('express');var router=express[_0xc7cf('0x0')]();var auth=require(_0xc7cf('0x1'));var controller=require(_0xc7cf('0x2'));router['get']('/',controller[_0xc7cf('0x3')]);router['get']('/fetch',auth[_0xc7cf('0x4')](),auth[_0xc7cf('0x5')](),controller['fetch']);router[_0xc7cf('0x6')](_0xc7cf('0x7'),auth[_0xc7cf('0x4')](),auth[_0xc7cf('0x5')](),controller[_0xc7cf('0x8')]);router['get'](_0xc7cf('0x9'),auth[_0xc7cf('0x4')](),auth[_0xc7cf('0x5')](),controller['pull']);router['get'](_0xc7cf('0xa'),auth[_0xc7cf('0x4')](),controller[_0xc7cf('0xb')]);router[_0xc7cf('0x6')]('/migrations',controller[_0xc7cf('0xc')]);module[_0xc7cf('0xd')]=router;
\ No newline at end of file