A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): trust the instance's status page link (#3783)
Hampusbe8d42c4285a
diff --git a/fluxer_app/src/features/trusted_domain/state/TrustedDomain.ts b/fluxer_app/src/features/trusted_domain/state/TrustedDomain.tsindex aac502c6d..e0f704d16 100644--- a/fluxer_app/src/features/trusted_domain/state/TrustedDomain.ts+++ b/fluxer_app/src/features/trusted_domain/state/TrustedDomain.ts@@ -45,6 +45,7 @@ function configuredTrustedDomainPatterns(): Array<string> {RuntimeConfig.giftEndpoint,RuntimeConfig.mediaEndpoint,RuntimeConfig.staticCdnEndpoint,+ RuntimeConfig.statusPageUrl,].flatMap(domainPatternFromUrl),...RuntimeConfig.appPublic.branding.trusted_domains.filter((domain) => domain !== TRUST_EVERYTHING_PATTERN),]);