mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-09-25 13:39:39 +02:00
Fix overriding experimentation stopped working
This commit is contained in:
@@ -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]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user