Built motion from commit ff78e754.|2.6.29
[motion2.git] / server / api / version / index.js
index 02d0abd..9d58d8d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6f4f=['canUpdate','/reset','reset','/pull','pull','/restart','/migrations','exports','Router','../../components/auth/service','index','get','isAuthenticated'];(function(_0x5229af,_0x580c65){var _0x368c5f=function(_0x1ca14c){while(--_0x1ca14c){_0x5229af['push'](_0x5229af['shift']());}};_0x368c5f(++_0x580c65);}(_0x6f4f,0x1c2));var _0xf6f4=function(_0x1599c0,_0x813878){_0x1599c0=_0x1599c0-0x0;var _0x32ff71=_0x6f4f[_0x1599c0];return _0x32ff71;};'use strict';var express=require('express');var router=express[_0xf6f4('0x0')]();var auth=require(_0xf6f4('0x1'));var controller=require('./version.controller');router['get']('/',controller[_0xf6f4('0x2')]);router[_0xf6f4('0x3')]('/fetch',auth[_0xf6f4('0x4')](),auth[_0xf6f4('0x5')](),controller['fetch']);router[_0xf6f4('0x3')](_0xf6f4('0x6'),auth[_0xf6f4('0x4')](),auth['canUpdate'](),controller[_0xf6f4('0x7')]);router[_0xf6f4('0x3')](_0xf6f4('0x8'),auth[_0xf6f4('0x4')](),auth[_0xf6f4('0x5')](),controller[_0xf6f4('0x9')]);router[_0xf6f4('0x3')](_0xf6f4('0xa'),auth['isAuthenticated'](),controller['restart']);router[_0xf6f4('0x3')](_0xf6f4('0xb'),controller['migrations']);module[_0xf6f4('0xc')]=router;
\ No newline at end of file
+var _0x79b6=['/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get','/fetch','isAuthenticated','canUpdate','/reset','reset','pull','/restart','restart'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0x79b6,0x93));var _0x679b=function(_0x23c2b7,_0x57b41a){_0x23c2b7=_0x23c2b7-0x0;var _0x4c7225=_0x79b6[_0x23c2b7];return _0x4c7225;};'use strict';var express=require(_0x679b('0x0'));var router=express[_0x679b('0x1')]();var auth=require(_0x679b('0x2'));var controller=require(_0x679b('0x3'));router[_0x679b('0x4')]('/',controller['index']);router[_0x679b('0x4')](_0x679b('0x5'),auth[_0x679b('0x6')](),auth[_0x679b('0x7')](),controller['fetch']);router['get'](_0x679b('0x8'),auth[_0x679b('0x6')](),auth[_0x679b('0x7')](),controller[_0x679b('0x9')]);router[_0x679b('0x4')]('/pull',auth[_0x679b('0x6')](),auth[_0x679b('0x7')](),controller[_0x679b('0xa')]);router['get'](_0x679b('0xb'),auth[_0x679b('0x6')](),controller[_0x679b('0xc')]);router[_0x679b('0x4')](_0x679b('0xd'),controller[_0x679b('0xe')]);module[_0x679b('0xf')]=router;
\ No newline at end of file