This commit is contained in:
root
2021-11-11 06:59:51 +05:30
parent b24eff223c
commit 0f357829de
+1 -1
View File
@@ -139,7 +139,7 @@ export default {
const headers = request.headers
if (
url.host.endsWith('.googlevideo.com') ||
(url.host.endsWith('.lbryplayer.xyz') && headers.Range)
(url.host.endsWith('.lbryplayer.xyz') && (this.$store.getters['prefs/getPreferenceBoolean']('proxyLBRY', true) || headers.Range))
) {
url.searchParams.set('host', url.host)
url.host = proxyHost