Built motion from commit b5413ace.|2.6.9
[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 _0xfe67=['Router','../../components/auth/service','./system.controller','get','/process/:pid/kill','isAuthenticated','express'];(function(_0x234f28,_0x34225e){var _0x4911d6=function(_0x317b61){while(--_0x317b61){_0x234f28['push'](_0x234f28['shift']());}};_0x4911d6(++_0x34225e);}(_0xfe67,0x148));var _0x7fe6=function(_0x401893,_0x1dc37b){_0x401893=_0x401893-0x0;var _0x8ba4ef=_0xfe67[_0x401893];return _0x8ba4ef;};'use strict';var express=require(_0x7fe6('0x0'));var router=express[_0x7fe6('0x1')]();var auth=require(_0x7fe6('0x2'));var controller=require(_0x7fe6('0x3'));router[_0x7fe6('0x4')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7fe6('0x4')](_0x7fe6('0x5'),auth[_0x7fe6('0x6')](),controller['killProcess']);module['exports']=router;