X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fversion%2Findex.js;h=28e640a126dc8907e6f55c8eb737311ab9a80b16;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=fa2d675e5d492db629873fadd6de4459f2b41b0e;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/api/version/index.js b/server/api/version/index.js index fa2d675..28e640a 100644 --- a/server/api/version/index.js +++ b/server/api/version/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x80bd=['canUpdate','fetch','/reset','/pull','pull','/restart','restart','migrations','exports','Router','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated'];(function(_0x46c45c,_0x95a8bb){var _0x5a4a28=function(_0x31a7ae){while(--_0x31a7ae){_0x46c45c['push'](_0x46c45c['shift']());}};_0x5a4a28(++_0x95a8bb);}(_0x80bd,0x199));var _0xd80b=function(_0x427d94,_0x1930d0){_0x427d94=_0x427d94-0x0;var _0x6106bf=_0x80bd[_0x427d94];return _0x6106bf;};'use strict';var express=require('express');var router=express[_0xd80b('0x0')]();var auth=require(_0xd80b('0x1'));var controller=require(_0xd80b('0x2'));router[_0xd80b('0x3')]('/',controller[_0xd80b('0x4')]);router[_0xd80b('0x3')](_0xd80b('0x5'),auth[_0xd80b('0x6')](),auth[_0xd80b('0x7')](),controller[_0xd80b('0x8')]);router[_0xd80b('0x3')](_0xd80b('0x9'),auth[_0xd80b('0x6')](),auth[_0xd80b('0x7')](),controller['reset']);router[_0xd80b('0x3')](_0xd80b('0xa'),auth[_0xd80b('0x6')](),auth['canUpdate'](),controller[_0xd80b('0xb')]);router[_0xd80b('0x3')](_0xd80b('0xc'),auth[_0xd80b('0x6')](),controller[_0xd80b('0xd')]);router['get']('/migrations',controller[_0xd80b('0xe')]);module[_0xd80b('0xf')]=router; \ No newline at end of file +var _0xa317=['index','isAuthenticated','canUpdate','fetch','/reset','reset','pull','/restart','restart','/migrations','migrations','exports','express','Router','../../components/auth/service','./version.controller','get'];(function(_0xae334e,_0x27a6c6){var _0x205ab4=function(_0x46a243){while(--_0x46a243){_0xae334e['push'](_0xae334e['shift']());}};_0x205ab4(++_0x27a6c6);}(_0xa317,0x14f));var _0x7a31=function(_0x905a94,_0x5694bd){_0x905a94=_0x905a94-0x0;var _0x33c5d5=_0xa317[_0x905a94];return _0x33c5d5;};'use strict';var express=require(_0x7a31('0x0'));var router=express[_0x7a31('0x1')]();var auth=require(_0x7a31('0x2'));var controller=require(_0x7a31('0x3'));router[_0x7a31('0x4')]('/',controller[_0x7a31('0x5')]);router[_0x7a31('0x4')]('/fetch',auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0x8')]);router['get'](_0x7a31('0x9'),auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0xa')]);router[_0x7a31('0x4')]('/pull',auth[_0x7a31('0x6')](),auth[_0x7a31('0x7')](),controller[_0x7a31('0xb')]);router[_0x7a31('0x4')](_0x7a31('0xc'),auth['isAuthenticated'](),controller[_0x7a31('0xd')]);router[_0x7a31('0x4')](_0x7a31('0xe'),controller[_0x7a31('0xf')]);module[_0x7a31('0x10')]=router; \ No newline at end of file