Skip to content

Commit

Permalink
replace https
Browse files Browse the repository at this point in the history
  • Loading branch information
dutscher committed May 14, 2024
1 parent 18b487e commit fd7e265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/a11y-inspector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
function loadPagePerProxy() {
if (src && elmIframe) {
fetch(proxyUrl + src)
fetch(proxyUrl + src.replace('https://', ''))
.then(response => response.text())
.then(rawHTML => {
elmIframe.src = `data:text/html;charset=utf-8,${escape(rawHTML)}`;
Expand Down

0 comments on commit fd7e265

Please sign in to comment.