Skip to content

Commit

Permalink
fix index.html: response.body is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf authored Feb 19, 2024
1 parent 447f1e7 commit ca6aa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/policies/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script>
async function render() {
const response = await fetch("/etc/policies.md");
document.querySelector('.markdown-container').innerHTML = marked.parse(response.body());
document.querySelector('.markdown-container').innerHTML = marked.parse(response.body);
}
render()
</script>

0 comments on commit ca6aa52

Please sign in to comment.