mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Fix overriding experimentation stopped working
This commit is contained in:
parent
f027565534
commit
6de235ce2f
@ -576,7 +576,7 @@ export function interceptHttpRequests() {
|
|||||||
const response = await NATIVE_FETCH(request, init);
|
const response = await NATIVE_FETCH(request, init);
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
|
|
||||||
if (json && json.exp && json.treatments) {
|
if (json && json.exp && json.exp.treatments) {
|
||||||
for (const key in FeatureGates) {
|
for (const key in FeatureGates) {
|
||||||
json.exp.treatments[key] = FeatureGates[key]
|
json.exp.treatments[key] = FeatureGates[key]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user