Built motion from commit a8c4dd89.|2.6.33
[motion2.git] / server / api / version / index.js
index e3d21f9..8bcb7ee 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x41cc=['isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','/migrations','exports','express','../../components/auth/service','get'];(function(_0x893367,_0x4ff408){var _0x356fb5=function(_0x3186dd){while(--_0x3186dd){_0x893367['push'](_0x893367['shift']());}};_0x356fb5(++_0x4ff408);}(_0x41cc,0x89));var _0xc41c=function(_0x313257,_0x4d3dad){_0x313257=_0x313257-0x0;var _0x5ae611=_0x41cc[_0x313257];return _0x5ae611;};'use strict';var express=require(_0xc41c('0x0'));var router=express['Router']();var auth=require(_0xc41c('0x1'));var controller=require('./version.controller');router['get']('/',controller['index']);router[_0xc41c('0x2')]('/fetch',auth[_0xc41c('0x3')](),auth[_0xc41c('0x4')](),controller[_0xc41c('0x5')]);router[_0xc41c('0x2')](_0xc41c('0x6'),auth[_0xc41c('0x3')](),auth['canUpdate'](),controller[_0xc41c('0x7')]);router[_0xc41c('0x2')](_0xc41c('0x8'),auth[_0xc41c('0x3')](),auth[_0xc41c('0x4')](),controller[_0xc41c('0x9')]);router['get'](_0xc41c('0xa'),auth[_0xc41c('0x3')](),controller[_0xc41c('0xb')]);router[_0xc41c('0x2')](_0xc41c('0xc'),controller['migrations']);module[_0xc41c('0xd')]=router;
\ No newline at end of file
+var _0xeadd=['/migrations','express','Router','../../components/auth/service','get','isAuthenticated','canUpdate','/pull','pull','restart'];(function(_0x53ced7,_0x40cae1){var _0x1f3122=function(_0x19c83a){while(--_0x19c83a){_0x53ced7['push'](_0x53ced7['shift']());}};_0x1f3122(++_0x40cae1);}(_0xeadd,0x10f));var _0xdead=function(_0x7c3cb0,_0x3a0c14){_0x7c3cb0=_0x7c3cb0-0x0;var _0x2eb5ce=_0xeadd[_0x7c3cb0];return _0x2eb5ce;};'use strict';var express=require(_0xdead('0x0'));var router=express[_0xdead('0x1')]();var auth=require(_0xdead('0x2'));var controller=require('./version.controller');router[_0xdead('0x3')]('/',controller['index']);router[_0xdead('0x3')]('/fetch',auth[_0xdead('0x4')](),auth[_0xdead('0x5')](),controller['fetch']);router[_0xdead('0x3')]('/reset',auth['isAuthenticated'](),auth[_0xdead('0x5')](),controller['reset']);router['get'](_0xdead('0x6'),auth[_0xdead('0x4')](),auth['canUpdate'](),controller[_0xdead('0x7')]);router[_0xdead('0x3')]('/restart',auth[_0xdead('0x4')](),controller[_0xdead('0x8')]);router[_0xdead('0x3')](_0xdead('0x9'),controller['migrations']);module['exports']=router;
\ No newline at end of file