Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / version / index.js
index 2b287a0..a39cfa3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf33f=['/restart','/migrations','express','Router','../../components/auth/service','./version.controller','index','get','/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull'];(function(_0x468b0f,_0x408566){var _0x3e74d9=function(_0x27a545){while(--_0x27a545){_0x468b0f['push'](_0x468b0f['shift']());}};_0x3e74d9(++_0x408566);}(_0xf33f,0x13d));var _0xff33=function(_0x427fe7,_0x79331a){_0x427fe7=_0x427fe7-0x0;var _0x5ee4ab=_0xf33f[_0x427fe7];return _0x5ee4ab;};'use strict';var express=require(_0xff33('0x0'));var router=express[_0xff33('0x1')]();var auth=require(_0xff33('0x2'));var controller=require(_0xff33('0x3'));router['get']('/',controller[_0xff33('0x4')]);router[_0xff33('0x5')](_0xff33('0x6'),auth[_0xff33('0x7')](),auth[_0xff33('0x8')](),controller[_0xff33('0x9')]);router[_0xff33('0x5')](_0xff33('0xa'),auth[_0xff33('0x7')](),auth['canUpdate'](),controller[_0xff33('0xb')]);router[_0xff33('0x5')](_0xff33('0xc'),auth[_0xff33('0x7')](),auth[_0xff33('0x8')](),controller['pull']);router['get'](_0xff33('0xd'),auth[_0xff33('0x7')](),controller['restart']);router[_0xff33('0x5')](_0xff33('0xe'),controller['migrations']);module['exports']=router;
\ No newline at end of file
+var _0x1c75=['/restart','/migrations','migrations','exports','./version.controller','get','index','/fetch','canUpdate','isAuthenticated','reset','pull'];(function(_0xf2f332,_0x299fbf){var _0x56cce3=function(_0x5f37e0){while(--_0x5f37e0){_0xf2f332['push'](_0xf2f332['shift']());}};_0x56cce3(++_0x299fbf);}(_0x1c75,0xf4));var _0x51c7=function(_0x2253ea,_0x6320e){_0x2253ea=_0x2253ea-0x0;var _0x2d046c=_0x1c75[_0x2253ea];return _0x2d046c;};'use strict';var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var controller=require(_0x51c7('0x0'));router[_0x51c7('0x1')]('/',controller[_0x51c7('0x2')]);router[_0x51c7('0x1')](_0x51c7('0x3'),auth['isAuthenticated'](),auth[_0x51c7('0x4')](),controller['fetch']);router[_0x51c7('0x1')]('/reset',auth[_0x51c7('0x5')](),auth[_0x51c7('0x4')](),controller[_0x51c7('0x6')]);router['get']('/pull',auth[_0x51c7('0x5')](),auth[_0x51c7('0x4')](),controller[_0x51c7('0x7')]);router[_0x51c7('0x1')](_0x51c7('0x8'),auth[_0x51c7('0x5')](),controller['restart']);router[_0x51c7('0x1')](_0x51c7('0x9'),controller[_0x51c7('0xa')]);module[_0x51c7('0xb')]=router;
\ No newline at end of file