Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / version / index.js
index f28d4a2..e6f1686 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x132c=['/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','/migrations','migrations','exports','express','../../components/auth/service','get','index'];(function(_0x43d701,_0x4bb2e9){var _0x2ec4c6=function(_0x4d9765){while(--_0x4d9765){_0x43d701['push'](_0x43d701['shift']());}};_0x2ec4c6(++_0x4bb2e9);}(_0x132c,0x1ae));var _0xc132=function(_0x35404c,_0x277be0){_0x35404c=_0x35404c-0x0;var _0x171b27=_0x132c[_0x35404c];return _0x171b27;};'use strict';var express=require(_0xc132('0x0'));var router=express['Router']();var auth=require(_0xc132('0x1'));var controller=require('./version.controller');router[_0xc132('0x2')]('/',controller[_0xc132('0x3')]);router[_0xc132('0x2')](_0xc132('0x4'),auth[_0xc132('0x5')](),auth[_0xc132('0x6')](),controller[_0xc132('0x7')]);router[_0xc132('0x2')](_0xc132('0x8'),auth[_0xc132('0x5')](),auth[_0xc132('0x6')](),controller[_0xc132('0x9')]);router[_0xc132('0x2')](_0xc132('0xa'),auth[_0xc132('0x5')](),auth['canUpdate'](),controller['pull']);router['get']('/restart',auth[_0xc132('0x5')](),controller['restart']);router['get'](_0xc132('0xb'),controller[_0xc132('0xc')]);module[_0xc132('0xd')]=router;
\ No newline at end of file
+var _0x0b4f=['fetch','reset','pull','/restart','restart','migrations','exports','express','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate'];(function(_0xbf8d9e,_0x7b75df){var _0x37b563=function(_0x29b774){while(--_0x29b774){_0xbf8d9e['push'](_0xbf8d9e['shift']());}};_0x37b563(++_0x7b75df);}(_0x0b4f,0xd9));var _0xf0b4=function(_0x4aedbb,_0x4952e6){_0x4aedbb=_0x4aedbb-0x0;var _0x33c1d8=_0x0b4f[_0x4aedbb];return _0x33c1d8;};'use strict';var express=require(_0xf0b4('0x0'));var router=express['Router']();var auth=require(_0xf0b4('0x1'));var controller=require(_0xf0b4('0x2'));router[_0xf0b4('0x3')]('/',controller[_0xf0b4('0x4')]);router['get'](_0xf0b4('0x5'),auth[_0xf0b4('0x6')](),auth[_0xf0b4('0x7')](),controller[_0xf0b4('0x8')]);router[_0xf0b4('0x3')]('/reset',auth[_0xf0b4('0x6')](),auth[_0xf0b4('0x7')](),controller[_0xf0b4('0x9')]);router['get']('/pull',auth[_0xf0b4('0x6')](),auth[_0xf0b4('0x7')](),controller[_0xf0b4('0xa')]);router['get'](_0xf0b4('0xb'),auth[_0xf0b4('0x6')](),controller[_0xf0b4('0xc')]);router['get']('/migrations',controller[_0xf0b4('0xd')]);module[_0xf0b4('0xe')]=router;
\ No newline at end of file