1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add option enable/disable check of server is reachable by the connection

This commit is contained in:
Ycarus (Yannick Chabanois) 2025-02-06 14:32:18 +01:00
parent 863425d622
commit 93ec83c111
5 changed files with 22 additions and 7 deletions

View file

@ -95,7 +95,12 @@ return view.extend({
}
*/
o = s.option(form.Flag, 'server_http_test', _('Server http test'),
_('Check if connection work with http by sending a request to server'));
_('Check if connection work with http by sending a request to server API'));
o.rmempty = false;
o.modalonly = true;
o = s.option(form.Flag, 'server_test', _('Server test'),
_('Check if connection work by sending a ping or http request to server over all interfaces, failed if only current interface is not able to.'));
o.rmempty = false;
o.modalonly = true;