mirror of
https://github.com/smartyellow/status.git
synced 2025-06-28 04:35:11 +00:00
"Test now" button
This commit is contained in:
@ -34,6 +34,7 @@ module.exports = {
|
||||
{ label: 'endpoints to test',
|
||||
sections: [
|
||||
'autotestInterval',
|
||||
'testNow',
|
||||
'autotest',
|
||||
],
|
||||
},
|
||||
@ -206,6 +207,19 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
testNow: {
|
||||
label: 'test now',
|
||||
fields: [
|
||||
{ key: 'id',
|
||||
label: 'click to test this endpoint now',
|
||||
editor: 'button',
|
||||
method: 'post',
|
||||
url: '/status/webservices/:id/testnow',
|
||||
translate: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
Reference in New Issue
Block a user