X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Flicense%2Findex.js;h=9ff83f9c3ed3b83e4d94f91f924355359619d893;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=5c04e797f6b50060dfe15d9da911c9eb946f15ab;hpb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;p=motion2.git diff --git a/server/api/license/index.js b/server/api/license/index.js index 5c04e79..9ff83f9 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 _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 +var _0x7b7e=['../../config/environment','./license.controller','get','index','put','update','/download_log_file','isAuthenticated','downloadLogFile','exports','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x5db0e1,_0x229128){var _0x16532e=function(_0x367b8e){while(--_0x367b8e){_0x5db0e1['push'](_0x5db0e1['shift']());}};_0x16532e(++_0x229128);}(_0x7b7e,0x17a));var _0xe7b7=function(_0x1b6311,_0x42ec20){_0x1b6311=_0x1b6311-0x0;var _0x25aab6=_0x7b7e[_0x1b6311];return _0x25aab6;};'use strict';var multer=require('multer');var util=require(_0xe7b7('0x0'));var path=require('path');var timeout=require(_0xe7b7('0x1'));var express=require(_0xe7b7('0x2'));var router=express[_0xe7b7('0x3')]();var fs_extra=require(_0xe7b7('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xe7b7('0x5'));var config=require(_0xe7b7('0x6'));var controller=require(_0xe7b7('0x7'));router[_0xe7b7('0x8')]('/',controller[_0xe7b7('0x9')]);router[_0xe7b7('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe7b7('0xb')]);router['get'](_0xe7b7('0xc'),auth[_0xe7b7('0xd')](),controller[_0xe7b7('0xe')]);module[_0xe7b7('0xf')]=router; \ No newline at end of file