Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / version / index.js
index b89b84f..23da858 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0404=['reset','pull','/restart','restart','/migrations','migrations','Router','../../components/auth/service','./version.controller','get','index','isAuthenticated','canUpdate','fetch'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x0404,0xf4));var _0x4040=function(_0x3b4b1d,_0x15029e){_0x3b4b1d=_0x3b4b1d-0x0;var _0x488c36=_0x0404[_0x3b4b1d];return _0x488c36;};'use strict';var express=require('express');var router=express[_0x4040('0x0')]();var auth=require(_0x4040('0x1'));var controller=require(_0x4040('0x2'));router[_0x4040('0x3')]('/',controller[_0x4040('0x4')]);router[_0x4040('0x3')]('/fetch',auth[_0x4040('0x5')](),auth[_0x4040('0x6')](),controller[_0x4040('0x7')]);router[_0x4040('0x3')]('/reset',auth[_0x4040('0x5')](),auth['canUpdate'](),controller[_0x4040('0x8')]);router['get']('/pull',auth[_0x4040('0x5')](),auth[_0x4040('0x6')](),controller[_0x4040('0x9')]);router['get'](_0x4040('0xa'),auth[_0x4040('0x5')](),controller[_0x4040('0xb')]);router['get'](_0x4040('0xc'),controller[_0x4040('0xd')]);module['exports']=router;
\ No newline at end of file
+var _0x1575=['canUpdate','reset','/pull','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get','index','isAuthenticated','fetch'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x1575,0x190));var _0x5157=function(_0xa46cc6,_0x2ca117){_0xa46cc6=_0xa46cc6-0x0;var _0x1a8888=_0x1575[_0xa46cc6];return _0x1a8888;};'use strict';var express=require(_0x5157('0x0'));var router=express[_0x5157('0x1')]();var auth=require(_0x5157('0x2'));var controller=require(_0x5157('0x3'));router[_0x5157('0x4')]('/',controller[_0x5157('0x5')]);router[_0x5157('0x4')]('/fetch',auth[_0x5157('0x6')](),auth['canUpdate'](),controller[_0x5157('0x7')]);router[_0x5157('0x4')]('/reset',auth[_0x5157('0x6')](),auth[_0x5157('0x8')](),controller[_0x5157('0x9')]);router[_0x5157('0x4')](_0x5157('0xa'),auth[_0x5157('0x6')](),auth[_0x5157('0x8')](),controller[_0x5157('0xb')]);router['get'](_0x5157('0xc'),auth[_0x5157('0x6')](),controller[_0x5157('0xd')]);router['get'](_0x5157('0xe'),controller[_0x5157('0xf')]);module[_0x5157('0x10')]=router;
\ No newline at end of file