This commit is contained in:
Anurag123Chauhan committed 2025-05-16 19:20:16 +05:30
1 parent 1d6a5a4442
commit ed03c17c22
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ const monitorValidation = joi.object({
.custom((value, helpers) => { .custom((value, helpers) => {
// Regex from https://gist.github.com/dperini/729294 // Regex from https://gist.github.com/dperini/729294
var urlRegex = new RegExp( var urlRegex = new RegExp(
"^" + "^" +
// protocol identifier (optional) // protocol identifier (optional)
// short syntax // still required // short syntax // still required
"(?:(?:https?|ftp):\\/\\/)?" + "(?:(?:https?|ftp):\\/\\/)?" +