diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 96448c6d4..852a266f9 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -442,7 +442,7 @@ export default { } } if (this.monitor.headers) { - if (!/^([^:]+:.*)([\s]+[^:]+:.*)+$/g.test(this.monitor.headers)) { + if (!/^([^:]+:.*)([\s]+[^:]+:.*)*$/g.test(this.monitor.headers)) { toast.error(this.$t("HeadersInvalidFormat")); return false; }