Skip to content

Commit

Permalink
Added updated script file in index file
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth Kothari committed May 29, 2024
1 parent 338eec8 commit 5b0337a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.png">
<script>

// var baseTag = document.createElement('base');
// baseTag.href = document.location.href;
// document.head.appendChild(baseTag);
// window.console.log = function() {}
document.write('<base href="' + document.location + '" />');
var baseTag = document.createElement('base');
baseTag.href = document.location.href;
document.head.appendChild(baseTag);
window.console.log = function() {}
window.console.warn = function() {}
</script>
</head>
Expand Down

0 comments on commit 5b0337a

Please sign in to comment.