Skip to content

Commit

Permalink
Removed encodeURIComponent (PSMRI#25)
Browse files Browse the repository at this point in the history
* Removed encodeURIComponent

* Removed document.write

---------

Co-authored-by: Devika <[email protected]>
  • Loading branch information
devikasuresh20 and Devika authored Nov 6, 2023
1 parent 4324b19 commit 15d8588
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<meta charset="utf-8">
<title>Mobile Medical Unit</title>
<script>
document.write('<base href="' + encodeURIComponent(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>
Expand Down

0 comments on commit 15d8588

Please sign in to comment.