为站点添加自定义域名时强制修改DNS类型为CNAME
This commit is contained in:
parent
5ef6682a67
commit
898e4a2ed0
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user