Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / system / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcff2=['Router','../../components/auth/service','get','isAuthenticated','index','/process/:pid/kill','express'];(function(_0x52599d,_0x5d8a4e){var _0x395e94=function(_0x595eeb){while(--_0x595eeb){_0x52599d['push'](_0x52599d['shift']());}};_0x395e94(++_0x5d8a4e);}(_0xcff2,0x172));var _0x2cff=function(_0x555ebb,_0x4b1b68){_0x555ebb=_0x555ebb-0x0;var _0x3c0a4a=_0xcff2[_0x555ebb];return _0x3c0a4a;};'use strict';var express=require(_0x2cff('0x0'));var router=express[_0x2cff('0x1')]();var auth=require(_0x2cff('0x2'));var controller=require('./system.controller');router[_0x2cff('0x3')]('/',auth[_0x2cff('0x4')](),controller[_0x2cff('0x5')]);router[_0x2cff('0x3')](_0x2cff('0x6'),auth[_0x2cff('0x4')](),controller['killProcess']);module['exports']=router;