mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-15 22:15:09 +00:00
ci: fix CNAME validations for ACME records
This commit is contained in:
1 parent
d673191002
commit
b3b656e05f
1 file changed
+1
-1
@@ -17,7 +17,7 @@ const isValidURL = and([R.is(String), testRegex(/^https?:\/\//gi)]);
|
|||||||
|
|
||||||
const isValidDomain = and([
|
const isValidDomain = and([
|
||||||
R.is(String),
|
R.is(String),
|
||||||
testRegex(/^(([a-z0-9-]+)\.)+[a-z]+$/gi),
|
testRegex(/^(([a-z0-9-_]+)\.)+[a-z]+$/gi),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const validateCnameRecord = (type) =>
|
const validateCnameRecord = (type) =>
|
||||||
|
|||||||
Reference in new issue
Block a user