mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: cname的key转为小写
This commit is contained in:
@@ -100,7 +100,7 @@ export class CnameRecordService extends BaseService<CnameRecordEntity> {
|
||||
}
|
||||
param.hostRecord = hostRecord;
|
||||
|
||||
const cnameKey = utils.id.simpleNanoId();
|
||||
const cnameKey = utils.id.simpleNanoId().toLowerCase();
|
||||
const safeDomain = param.domain.replaceAll('.', '-');
|
||||
param.recordValue = `${safeDomain}.${cnameKey}.${cnameProvider.domain}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user