Built motion from commit (unavailable).|2.5.7
[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 _0xebd3=['killProcess','exports','express','../../components/auth/service','get','isAuthenticated'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0xebd3,0x194));var _0x3ebd=function(_0x3aeb36,_0x312dc9){_0x3aeb36=_0x3aeb36-0x0;var _0xa2ef21=_0xebd3[_0x3aeb36];return _0xa2ef21;};'use strict';var express=require(_0x3ebd('0x0'));var router=express['Router']();var auth=require(_0x3ebd('0x1'));var controller=require('./system.controller');router[_0x3ebd('0x2')]('/',auth[_0x3ebd('0x3')](),controller['index']);router['get']('/process/:pid/kill',auth[_0x3ebd('0x3')](),controller[_0x3ebd('0x4')]);module[_0x3ebd('0x5')]=router;