mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
perf(api): stop exempting self-hosted from response gating (#2228)
This commit is contained in:
1 parent
5f6f9428ac
commit
e6e4c6f7b5
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user