From b241436ed36b9b2dffe2fa610e32070072620b26 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Tue, 16 Nov 2021 09:43:58 +0100 Subject: [PATCH] add debug print --- src/components/Player.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Player.vue b/src/components/Player.vue index ff2e2a95..555fab18 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -210,6 +210,8 @@ export default { const proxyURL = new URL(component.video.proxyUrl); const proxyHost = proxyURL.host; const proxyPath = proxyURL.pathname; + console.log("proxyHost", proxyHost); + console.log("proxyPath", proxyPath); localPlayer.getNetworkingEngine().registerRequestFilter((_type, request) => { const uri = request.uris[0]; @@ -223,6 +225,7 @@ export default { url.searchParams.set("host", url.host); url.host = proxyHost; url.pathname = proxyPath + url.pathname; + console.log("url.pathname", url.pathname); request.uris[0] = url.toString(); } if (url.pathname === proxyPath + "/videoplayback") {