Skip to content

Commit

Permalink
Update index.html:
Browse files Browse the repository at this point in the history
- Fixed a minor syntax issue
  • Loading branch information
unclecode committed Mar 17, 2024
1 parent 739aaa2 commit bec8d7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
async function fetchReadmeContent() {
try {
const response = await fetch(repoUrl);
<!-- const data = await response.text()
const readmeContent = data
return readmeContent; -->
//const data = await response.text()
//const readmeContent = data
//return readmeContent;

const data = await response.json();
const readmeContent = atob(data.content);
Expand Down

0 comments on commit bec8d7e

Please sign in to comment.