X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Flicense%2Findex.js;h=5c04e797f6b50060dfe15d9da911c9eb946f15ab;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=f43221be5dcb8d4dbbd2b114e5c45cb687ea362b;hpb=c9bea7b5fb8c2c40aa3c8a89531d666691350a10;p=motion2.git diff --git a/server/api/license/index.js b/server/api/license/index.js index f43221b..5c04e79 100644 --- a/server/api/license/index.js +++ b/server/api/license/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdc6c=['Router','fs-extra','../../components/interaction/service','../../config/environment','./license.controller','index','isAuthenticated','update','/download_log_file','exports','multer','path','connect-timeout','express'];(function(_0x278170,_0x275aea){var _0x42f081=function(_0x437ef9){while(--_0x437ef9){_0x278170['push'](_0x278170['shift']());}};_0x42f081(++_0x275aea);}(_0xdc6c,0xdc));var _0xcdc6=function(_0x1bc0ae,_0x439dfe){_0x1bc0ae=_0x1bc0ae-0x0;var _0x501104=_0xdc6c[_0x1bc0ae];return _0x501104;};'use strict';var multer=require(_0xcdc6('0x0'));var util=require('util');var path=require(_0xcdc6('0x1'));var timeout=require(_0xcdc6('0x2'));var express=require(_0xcdc6('0x3'));var router=express[_0xcdc6('0x4')]();var fs_extra=require(_0xcdc6('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xcdc6('0x6'));var config=require(_0xcdc6('0x7'));var controller=require(_0xcdc6('0x8'));router['get']('/',controller[_0xcdc6('0x9')]);router['put']('/:id',auth[_0xcdc6('0xa')](),controller[_0xcdc6('0xb')]);router['get'](_0xcdc6('0xc'),auth[_0xcdc6('0xa')](),controller['downloadLogFile']);module[_0xcdc6('0xd')]=router; \ No newline at end of file +var _0x72b2=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','put','/:id','update','isAuthenticated','downloadLogFile','exports','util','path','connect-timeout'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x72b2,0x17d));var _0x272b=function(_0x1c522c,_0x2776f5){_0x1c522c=_0x1c522c-0x0;var _0x3bd977=_0x72b2[_0x1c522c];return _0x3bd977;};'use strict';var multer=require('multer');var util=require(_0x272b('0x0'));var path=require(_0x272b('0x1'));var timeout=require(_0x272b('0x2'));var express=require(_0x272b('0x3'));var router=express[_0x272b('0x4')]();var fs_extra=require(_0x272b('0x5'));var auth=require(_0x272b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x272b('0x7'));var controller=require('./license.controller');router[_0x272b('0x8')]('/',controller[_0x272b('0x9')]);router[_0x272b('0xa')](_0x272b('0xb'),auth['isAuthenticated'](),controller[_0x272b('0xc')]);router[_0x272b('0x8')]('/download_log_file',auth[_0x272b('0xd')](),controller[_0x272b('0xe')]);module[_0x272b('0xf')]=router; \ No newline at end of file