diff --git a/src/ScreenCapture.js b/src/ScreenCapture.js index 36b55317..07edda83 100644 --- a/src/ScreenCapture.js +++ b/src/ScreenCapture.js @@ -479,7 +479,7 @@ const prepareScreenshotData = (remote) => { baseElems[i].remove(); } - // Fix base node + // Adjust the base node const baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf("/")); var newBaseUrl = baseUrl + "/"; if (existingBasePath) { @@ -495,8 +495,6 @@ const prepareScreenshotData = (remote) => { } } - console.log("newBaseUrl", newBaseUrl); - const baseNode = window.document.createElement("base"); baseNode.href = newBaseUrl; const head = clone.querySelector("head");