Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk committed Dec 28, 2024
1 parent c4cf008 commit dc95ae9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ export class ApNoteService {
const urlHost = this.utilityService.punyHost(url).toLowerCase();
const uriHost = this.utilityService.punyHost(note.id).toLowerCase();

if (urlHost !== uriHost && !this.meta.mismatchUriHosts.some(x => x === `${urlHost},${uriHost}`)) {
//if (urlHost !== uriHost && !this.meta.mismatchUriHosts.some(x => x === `${urlHost},${uriHost}`)) {
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}`);
}
}
Expand Down

0 comments on commit dc95ae9

Please sign in to comment.