mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-20 03:26:09 +00:00
ci: fix CNAME validations for ACME records
This commit is contained in:
@@ -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-z]+$/gi),
|
||||
]);
|
||||
|
||||
const validateCnameRecord = (type) =>
|
||||
|
||||
Reference in New Issue
Block a user