perf: 支持反向代理增加contextPath路径

This commit is contained in:
xiaojunnuo
2025-04-25 18:04:59 +08:00
parent b3468cf7f2
commit 0088929622
11 changed files with 21 additions and 22 deletions
@@ -87,15 +87,13 @@ export class AliyunDnsProvider extends AbstractDnsProvider {
// }
async createRecord(options: CreateRecordOptions): Promise<any> {
const { fullRecord, value, type, domain } = options;
const { fullRecord,hostRecord, value, type, domain } = options;
this.logger.info('添加域名解析:', fullRecord, value, domain);
// const domain = await this.matchDomain(fullRecord);
const rr = fullRecord.replace('.' + domain, '');
const params = {
RegionId: 'cn-hangzhou',
DomainName: domain,
RR: rr,
RR: hostRecord,
Type: type,
Value: value,
// Line: 'oversea' // 海外