Merge pull request #1520 from bluewave-labs/hotfix/fe/validation
hotfix: make protocol optional for validation
This commit is contained in:
1 file changed
+1
-2
@@ -100,9 +100,8 @@ const monitorValidation = joi.object({
|
||||
"^" +
|
||||
// protocol identifier (optional)
|
||||
// short syntax // still required
|
||||
"(?:(?:(?:https?|ftp):)?\\/\\/)" +
|
||||
"(?:(?:https?|ftp):\\/\\/)?" +
|
||||
// user:pass BasicAuth (optional)
|
||||
"(?:\\S+(?::\\S*)?@)?" +
|
||||
"(?:" +
|
||||
// IP address exclusion
|
||||
// private & local networks
|
||||
|
||||
Reference in new issue
Block a user