Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / api / version / index.js
index e113591..f377c4b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc50d=['get','index','canUpdate','/reset','pull','/migrations','migrations','exports','Router','../../components/auth/service','./version.controller'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xc50d,0x1aa));var _0xdc50=function(_0x2ffc72,_0x2e8c8d){_0x2ffc72=_0x2ffc72-0x0;var _0x4f9029=_0xc50d[_0x2ffc72];return _0x4f9029;};'use strict';var express=require('express');var router=express[_0xdc50('0x0')]();var auth=require(_0xdc50('0x1'));var controller=require(_0xdc50('0x2'));router[_0xdc50('0x3')]('/',controller[_0xdc50('0x4')]);router[_0xdc50('0x3')]('/fetch',auth['isAuthenticated'](),auth[_0xdc50('0x5')](),controller['fetch']);router['get'](_0xdc50('0x6'),auth['isAuthenticated'](),auth['canUpdate'](),controller['reset']);router[_0xdc50('0x3')]('/pull',auth['isAuthenticated'](),auth[_0xdc50('0x5')](),controller[_0xdc50('0x7')]);router[_0xdc50('0x3')]('/restart',auth['isAuthenticated'](),controller['restart']);router[_0xdc50('0x3')](_0xdc50('0x8'),controller[_0xdc50('0x9')]);module[_0xdc50('0xa')]=router;
\ No newline at end of file
+var _0x68f8=['/restart','restart','/migrations','exports','express','Router','../../components/auth/service','./version.controller','get','fetch','isAuthenticated','canUpdate','/pull','pull'];(function(_0x548490,_0x3f66ea){var _0x40a785=function(_0x4fb336){while(--_0x4fb336){_0x548490['push'](_0x548490['shift']());}};_0x40a785(++_0x3f66ea);}(_0x68f8,0x154));var _0x868f=function(_0x1ef106,_0x215a42){_0x1ef106=_0x1ef106-0x0;var _0x4a59a7=_0x68f8[_0x1ef106];return _0x4a59a7;};'use strict';var express=require(_0x868f('0x0'));var router=express[_0x868f('0x1')]();var auth=require(_0x868f('0x2'));var controller=require(_0x868f('0x3'));router[_0x868f('0x4')]('/',controller['index']);router[_0x868f('0x4')]('/fetch',auth['isAuthenticated'](),auth['canUpdate'](),controller[_0x868f('0x5')]);router[_0x868f('0x4')]('/reset',auth[_0x868f('0x6')](),auth[_0x868f('0x7')](),controller['reset']);router[_0x868f('0x4')](_0x868f('0x8'),auth[_0x868f('0x6')](),auth['canUpdate'](),controller[_0x868f('0x9')]);router[_0x868f('0x4')](_0x868f('0xa'),auth['isAuthenticated'](),controller[_0x868f('0xb')]);router['get'](_0x868f('0xc'),controller['migrations']);module[_0x868f('0xd')]=router;
\ No newline at end of file