"Test now" button

This commit is contained in:
2022-07-22 14:40:31 +02:00
parent af17f80fe1
commit 232c8a73d5
3 changed files with 45 additions and 3 deletions

View File

@ -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,
},
],
},
},
},
}),