mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 03:16:42 +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 json = await response.json();
|
||||
|
||||
if (json && json.exp && json.treatments) {
|
||||
if (json && json.exp && json.exp.treatments) {
|
||||
for (const key in FeatureGates) {
|
||||
json.exp.treatments[key] = FeatureGates[key]
|
||||
}
|
||||
|
Reference in New Issue
Block a user