mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Bugfix: Correct validation for rabbitmq nodes
This commit is contained in:
parent
21a2d3c681
commit
0ba3773031
1 changed files with 1 additions and 1 deletions
|
@ -1789,7 +1789,7 @@ message HealthCheckResponse {
|
||||||
toast.error(this.$t("rabbitmqNodesRequired"));
|
toast.error(this.$t("rabbitmqNodesRequired"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://" || node.startsWith("https://")))) {
|
if (!this.monitor.rabbitmqNodes.every(node => node.startsWith("http://") || node.startsWith("https://"))) {
|
||||||
toast.error(this.$t("rabbitmqNodesInvalid"));
|
toast.error(this.$t("rabbitmqNodesInvalid"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue