Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / api / version / index.js
index db45a9c..764f2fa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1bb2=['restart','/migrations','migrations','exports','express','Router','./version.controller','index','get','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull'];(function(_0x6523a0,_0x4f2762){var _0x513b80=function(_0x45bf03){while(--_0x45bf03){_0x6523a0['push'](_0x6523a0['shift']());}};_0x513b80(++_0x4f2762);}(_0x1bb2,0x1be));var _0x21bb=function(_0x4a791e,_0x3f294c){_0x4a791e=_0x4a791e-0x0;var _0x2bb81a=_0x1bb2[_0x4a791e];return _0x2bb81a;};'use strict';var express=require(_0x21bb('0x0'));var router=express[_0x21bb('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0x21bb('0x2'));router['get']('/',controller[_0x21bb('0x3')]);router[_0x21bb('0x4')](_0x21bb('0x5'),auth[_0x21bb('0x6')](),auth[_0x21bb('0x7')](),controller[_0x21bb('0x8')]);router['get'](_0x21bb('0x9'),auth[_0x21bb('0x6')](),auth[_0x21bb('0x7')](),controller[_0x21bb('0xa')]);router[_0x21bb('0x4')](_0x21bb('0xb'),auth[_0x21bb('0x6')](),auth[_0x21bb('0x7')](),controller[_0x21bb('0xc')]);router['get']('/restart',auth['isAuthenticated'](),controller[_0x21bb('0xd')]);router[_0x21bb('0x4')](_0x21bb('0xe'),controller[_0x21bb('0xf')]);module[_0x21bb('0x10')]=router;
\ No newline at end of file
+var _0x93ab=['fetch','/reset','isAuthenticated','reset','/pull','pull','/restart','/migrations','migrations','exports','express','Router','./version.controller','get','index','canUpdate'];(function(_0x37dbcf,_0x491470){var _0x36c3f0=function(_0x49a9a4){while(--_0x49a9a4){_0x37dbcf['push'](_0x37dbcf['shift']());}};_0x36c3f0(++_0x491470);}(_0x93ab,0x9a));var _0xb93a=function(_0x2f6233,_0x90172){_0x2f6233=_0x2f6233-0x0;var _0x1c9c36=_0x93ab[_0x2f6233];return _0x1c9c36;};'use strict';var express=require(_0xb93a('0x0'));var router=express[_0xb93a('0x1')]();var auth=require('../../components/auth/service');var controller=require(_0xb93a('0x2'));router[_0xb93a('0x3')]('/',controller[_0xb93a('0x4')]);router[_0xb93a('0x3')]('/fetch',auth['isAuthenticated'](),auth[_0xb93a('0x5')](),controller[_0xb93a('0x6')]);router[_0xb93a('0x3')](_0xb93a('0x7'),auth[_0xb93a('0x8')](),auth[_0xb93a('0x5')](),controller[_0xb93a('0x9')]);router[_0xb93a('0x3')](_0xb93a('0xa'),auth['isAuthenticated'](),auth['canUpdate'](),controller[_0xb93a('0xb')]);router[_0xb93a('0x3')](_0xb93a('0xc'),auth[_0xb93a('0x8')](),controller['restart']);router[_0xb93a('0x3')](_0xb93a('0xd'),controller[_0xb93a('0xe')]);module[_0xb93a('0xf')]=router;
\ No newline at end of file