update mock
This commit is contained in:
parent
f107c5f355
commit
17528cc096
|
@ -4,12 +4,15 @@ const random_endpoints = [
|
|||
name: "LENOVO",
|
||||
ip: '192.168.3.1',
|
||||
status: "active", //active/inactive/unmonitored
|
||||
last_active: "2020-03-21 11:12:33"
|
||||
last_active: "2020-03-21 11:12:33",
|
||||
tag: ["win10"]
|
||||
},
|
||||
{
|
||||
os: "Linux",
|
||||
name: 'RaspberryPi',
|
||||
ip: '192.168.3.81',
|
||||
last_active: "2020-03-21 11:12:33",
|
||||
tag: ["win10"],
|
||||
credentials:{
|
||||
user: "pi",
|
||||
password: "elastic"
|
||||
|
@ -21,6 +24,7 @@ const random_endpoints = [
|
|||
|
||||
export default {
|
||||
'get /endpoints/get_endpoints': function (req, res) {
|
||||
|
||||
setTimeout(() => {
|
||||
res.json(random_endpoints);
|
||||
}, 3000);
|
||||
|
|
Loading…
Reference in New Issue