mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix exception in fetch()
This commit is contained in:
parent
2626408cbe
commit
ae24005f08
@ -10447,7 +10447,7 @@ function interceptHttpRequests() {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PREF_STREAM_TOUCH_CONTROLLER === 'all' && (url.includes('/titles') || url.includes('/mru'))) {
|
if (PREF_STREAM_TOUCH_CONTROLLER === 'all' && (url.includes('/v2/titles') || url.includes('/mru'))) {
|
||||||
const response = await NATIVE_FETCH(...arg);
|
const response = await NATIVE_FETCH(...arg);
|
||||||
const json = await response.clone().json()
|
const json = await response.clone().json()
|
||||||
for (let game of json.results) {
|
for (let game of json.results) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user