1b4c0de8e55fd1670f4f059c4aa582205708cddd
[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 _0xbbcd=['exports','express','Router','../../components/auth/service','./system.controller','get','/process/:pid/kill','killProcess'];(function(_0x425f81,_0x2515ec){var _0x279e6b=function(_0x40267f){while(--_0x40267f){_0x425f81['push'](_0x425f81['shift']());}};_0x279e6b(++_0x2515ec);}(_0xbbcd,0xa1));var _0xdbbc=function(_0x1c7b36,_0x487647){_0x1c7b36=_0x1c7b36-0x0;var _0x520c56=_0xbbcd[_0x1c7b36];return _0x520c56;};'use strict';var express=require(_0xdbbc('0x0'));var router=express[_0xdbbc('0x1')]();var auth=require(_0xdbbc('0x2'));var controller=require(_0xdbbc('0x3'));router[_0xdbbc('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0xdbbc('0x4')](_0xdbbc('0x5'),auth['isAuthenticated'](),controller[_0xdbbc('0x6')]);module[_0xdbbc('0x7')]=router;