为站点添加自定义域名时强制修改DNS类型为CNAME

This commit is contained in:
jingrow 2025-06-08 13:27:46 +08:00
parent 5ef6682a67
commit 898e4a2ed0
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1134,7 +1134,7 @@ class Site(Document, TagHelpers):
"status": "Pending",
"site": self.name,
"domain": domain,
"dns_type": response["type"],
"dns_type": "CNAME",
"dns_response": json.dumps(response, indent=4, default=str),
}
).insert()