feat: support wildcard domains on deployment to wangsu cdn

This commit is contained in:
Fu Diwei
2025-06-05 20:28:50 +08:00
parent 59935df6b1
commit d58109f4be
3 changed files with 9 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ const DeployNodeConfigFormWangsuCDNConfig = ({
if (!v) return false;
return String(v)
.split(MULTIPLE_INPUT_SEPARATOR)
.every((e) => validDomainName(e));
.every((e) => validDomainName(e, { allowWildcard: true }));
}, t("workflow_node.deploy.form.wangsu_cdn_domains.placeholder")),
});
const formRule = createSchemaFieldRule(formSchema);