Update validations.js

This commit is contained in:
MaskDuck authored and GitHub committed 2024-09-08 12:58:15 +07:00
1 parent b3b656e05f
commit 85e66b6686
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ const isValidURL = and([R.is(String), testRegex(/^https?:\/\//gi)]);
const isValidDomain = and([
R.is(String),
testRegex(/^(([a-z0-9-_]+)\.)+[a-z]+$/gi),
testRegex(/^(([a-z0-9-_]+)\.)+(([a-z0-9-]+)\.)+[a-z]+$/gi),
]);
const validateCnameRecord = (type) =>