mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
add debug print
This commit is contained in:
parent
ccc5fd011d
commit
613bd250fd
1 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,9 @@ export default {
|
||||||
url.port = proxyURL.port;
|
url.port = proxyURL.port;
|
||||||
url.host = proxyURL.host;
|
url.host = proxyURL.host;
|
||||||
url.pathname = proxyURL.pathname + url.pathname;
|
url.pathname = proxyURL.pathname + url.pathname;
|
||||||
|
console.log(proxyURL.host);
|
||||||
|
console.log(url.host);
|
||||||
|
console.log(proxyURL.pathname);
|
||||||
uri = url.toString();
|
uri = url.toString();
|
||||||
}
|
}
|
||||||
const contentType = await fetch(uri, {
|
const contentType = await fetch(uri, {
|
||||||
|
@ -225,6 +228,9 @@ export default {
|
||||||
url.port = proxyURL.port;
|
url.port = proxyURL.port;
|
||||||
url.host = proxyURL.host;
|
url.host = proxyURL.host;
|
||||||
url.pathname = proxyURL.pathname + url.pathname;
|
url.pathname = proxyURL.pathname + url.pathname;
|
||||||
|
console.log(proxyURL.host);
|
||||||
|
console.log(url.host);
|
||||||
|
console.log(proxyURL.pathname);
|
||||||
request.uris[0] = url.toString();
|
request.uris[0] = url.toString();
|
||||||
}
|
}
|
||||||
if (url.pathname === proxyURL.pathname + "/videoplayback") {
|
if (url.pathname === proxyURL.pathname + "/videoplayback") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue