site public flag

This commit is contained in:
jxxghp
2023-07-06 11:49:01 +08:00
parent 3609033ef9
commit 84acb70ec2
4 changed files with 15 additions and 9 deletions

View File

@ -75,7 +75,8 @@ class CookieCloudChain(ChainBase):
self.siteoper.add(name=indexer.get("name"),
url=indexer.get("domain"),
domain=domain,
cookie=cookie)
cookie=cookie,
public=1 if indexer.get("public") else 0)
_add_count += 1
# 保存站点图标
if indexer: