Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

perf(api): stop exempting self-hosted from response gating (#2228)

Hampuse6e4c6f7b584
diff --git a/fluxer_api/src/api/Config.ts b/fluxer_api/src/api/Config.ts
index 13d035db5..272c26b32 100644
--- a/fluxer_api/src/api/Config.ts
+++ b/fluxer_api/src/api/Config.ts
@@ -69,7 +69,7 @@ function resolveValidateResponses(master: MasterConfig): boolean {
if (isBoolean(master.dev.validate_responses)) {
return master.dev.validate_responses;
}
- return master.env !== 'production' || master.instance.self_hosted;
+ return master.env !== 'production';
}
function resolveTrustClientIpHeader(proxyConfig: object): boolean {