Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / version / index.js
index 00f5985..c21ab95 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x92fb=['Router','./version.controller','index','get','/fetch','canUpdate','fetch','isAuthenticated','reset','/pull','pull','/restart','restart','migrations','exports'];(function(_0x370a36,_0x58dcac){var _0x3a869a=function(_0x6a8779){while(--_0x6a8779){_0x370a36['push'](_0x370a36['shift']());}};_0x3a869a(++_0x58dcac);}(_0x92fb,0x1b3));var _0xb92f=function(_0x5f3de3,_0x40f0f5){_0x5f3de3=_0x5f3de3-0x0;var _0x287e0d=_0x92fb[_0x5f3de3];return _0x287e0d;};'use strict';var express=require('express');var router=express[_0xb92f('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0xb92f('0x1'));router['get']('/',controller[_0xb92f('0x2')]);router[_0xb92f('0x3')](_0xb92f('0x4'),auth['isAuthenticated'](),auth[_0xb92f('0x5')](),controller[_0xb92f('0x6')]);router[_0xb92f('0x3')]('/reset',auth[_0xb92f('0x7')](),auth[_0xb92f('0x5')](),controller[_0xb92f('0x8')]);router['get'](_0xb92f('0x9'),auth[_0xb92f('0x7')](),auth['canUpdate'](),controller[_0xb92f('0xa')]);router['get'](_0xb92f('0xb'),auth[_0xb92f('0x7')](),controller[_0xb92f('0xc')]);router[_0xb92f('0x3')]('/migrations',controller[_0xb92f('0xd')]);module[_0xb92f('0xe')]=router;
\ No newline at end of file
+var _0x1609=['canUpdate','fetch','get','/reset','reset','/pull','pull','/restart','restart','/migrations','express','Router','../../components/auth/service','./version.controller','/fetch'];(function(_0x19a11f,_0x6d8be7){var _0x51485f=function(_0x1394a1){while(--_0x1394a1){_0x19a11f['push'](_0x19a11f['shift']());}};_0x51485f(++_0x6d8be7);}(_0x1609,0x190));var _0x9160=function(_0x433a86,_0x175b5c){_0x433a86=_0x433a86-0x0;var _0x23000c=_0x1609[_0x433a86];return _0x23000c;};'use strict';var express=require(_0x9160('0x0'));var router=express[_0x9160('0x1')]();var auth=require(_0x9160('0x2'));var controller=require(_0x9160('0x3'));router['get']('/',controller['index']);router['get'](_0x9160('0x4'),auth['isAuthenticated'](),auth[_0x9160('0x5')](),controller[_0x9160('0x6')]);router[_0x9160('0x7')](_0x9160('0x8'),auth['isAuthenticated'](),auth[_0x9160('0x5')](),controller[_0x9160('0x9')]);router[_0x9160('0x7')](_0x9160('0xa'),auth['isAuthenticated'](),auth[_0x9160('0x5')](),controller[_0x9160('0xb')]);router[_0x9160('0x7')](_0x9160('0xc'),auth['isAuthenticated'](),controller[_0x9160('0xd')]);router['get'](_0x9160('0xe'),controller['migrations']);module['exports']=router;
\ No newline at end of file