feat: reserved field challengeType for apply node config

This commit is contained in:
Fu Diwei
2025-02-11 18:57:39 +08:00
parent b07174b533
commit 774ed5d31e
4 changed files with 15 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ const ApplyNode = ({ node, disabled }: ApplyNodeProps) => {
const newNode = produce(node, (draft) => {
draft.config = {
...newValues,
challengeType: newValues.challengeType || "dns-01", // 默认使用 DNS-01 认证
};
draft.validated = true;
});