Skip to content

Commit

Permalink
fix index.html: async error yeey
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf authored Feb 19, 2024
1 parent bdb98e6 commit 39597b1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions etc/policies/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
}
</style>
<script>
const response = await fetch("/etc/policies.md");
document.querySelector('.markdown-container').innerHTML = marked.parse(response);
async function render() {
const response = await fetch("/etc/policies.md");
document.querySelector('.markdown-container').innerHTML = marked.parse(response);
}
render()
</script>

0 comments on commit 39597b1

Please sign in to comment.