fix: 修复siteInfo每次都要重新设置的bug

pull/213/head
xiaojunnuo 2024-10-14 14:31:30 +08:00
parent 3ec6adfc0d
commit 36b26ae9f5
2 changed files with 1 additions and 3 deletions

View File

@ -14,6 +14,7 @@ Certd 是一个免费全自动申请和自动部署更新SSL证书的工具。
* 支持通配符域名/泛域名,支持多个域名打到一个证书上
* 邮件通知
* 私有化部署,保障数据安全
* 支持sqlitepostgresql数据库
* 免费、免费、免费([阿里云单个通配符域名证书最便宜也要1800/年](https://yundun.console.aliyun.com/?p=cas#/certExtend/buy/cn-hangzhou)

View File

@ -41,9 +41,6 @@ export class SysSettingsService extends BaseService<SysSettingsEntity> {
if (!key) {
return null;
}
if (key === 'sys.site' && isComm()) {
return null;
}
return await this.repository.findOne({
where: {
key,