mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-22 09:48:40 -06:00
backend: removed uri and url mismatch checking
This commit is contained in:
parent
ff5cf73fe3
commit
8cb9e048ae
1 changed files with 3 additions and 3 deletions
|
@ -165,9 +165,9 @@ export class ApNoteService {
|
||||||
throw new Error('unexpected schema of note url: ' + url);
|
throw new Error('unexpected schema of note url: ' + url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.utilityService.punyHost(url) !== this.utilityService.punyHost(note.id)) {
|
// if (this.utilityService.punyHost(url) !== this.utilityService.punyHost(note.id)) {
|
||||||
throw new Error(`note url & uri host mismatch: note url: ${url}, note uri: ${note.id}`);
|
// throw new Error(`note url & uri host mismatch: note url: ${url}, note uri: ${note.id}`);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logger.info(`Creating the Note: ${note.id}`);
|
this.logger.info(`Creating the Note: ${note.id}`);
|
||||||
|
|
Loading…
Reference in a new issue