1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

Merge tag '2024.11.0' into feature/2024.10

This commit is contained in:
dakkar
2024-11-22 12:29:04 +00:00
234 changed files with 6612 additions and 4634 deletions

View File

@@ -122,6 +122,7 @@ export class UtilityService {
return host;
}
@bindThis
public isFederationAllowedHost(host: string): boolean {
if (this.meta.federation === 'none') return false;
if (this.meta.federation === 'specified' && !this.meta.federationHosts.some(x => `.${host.toLowerCase()}`.endsWith(`.${x}`))) return false;