backend: removed AP obj different host check

This commit is contained in:
fly_mc 2024-11-27 03:04:45 +08:00
parent 8cb9e048ae
commit ce14b758b3

View file

@ -131,9 +131,9 @@ export class Resolver {
throw new Error('invalid AP object: missing id');
}
if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
}
// if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
// throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
// }
return object;
}