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

This commit is contained in:
Hampus
2026-08-31 02:04:07 +02:00
committed by GitHub
parent 5f6f9428ac
commit e6e4c6f7b5
+1 -1
View File
@@ -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 {