minor changes

This commit is contained in:
WardPearce
2025-02-23 08:59:15 +13:00
parent dcf416793f
commit 12a24f9f7b
2 changed files with 3 additions and 3 deletions
@@ -18,4 +18,4 @@ if (Capacitor.getPlatform() === 'android') {
};
setTimeout(() => goto('/', { replaceState: true }), 10);
}
}
@@ -124,7 +124,7 @@
url.searchParams.set('range', headers.Range.split('=')[1]);
url.searchParams.set('ump', '1');
url.searchParams.set('srfvp', '1');
url.searchParams.set('pot', get(poTokenCacheStore).toString());
url.searchParams.set('pot', get(poTokenCacheStore));
}
}
@@ -132,7 +132,7 @@
request.body = new Uint8Array([120, 0]);
}
if (Capacitor.getPlatform() === 'android' && data.video.fallbackPatch === 'youtubejs') {
if (Capacitor.getPlatform() === 'android') {
request.uris[0] = localProxy + url.toString();
} else {
request.uris[0] = url.toString();