Merge pull request #15981 from is-a-dev/MaskDuck-patch-1

ci: fix CNAME validations for ACME records
This commit is contained in:
William Harrison
2024-09-08 15:12:40 +08:00
committed by GitHub
+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) =>