Skip to content

Commit ccd631f

Browse files
committed
Fixing index.html
1 parent e1d4fab commit ccd631f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

posters/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<body>
33
<script>
44
(async () => {
5-
const response = await fetch('https://api.github.com/repos/gofflab/gofflab.github.io/posters/');
5+
const response = await fetch('https://api.github.com/repos/gofflab/gofflab.github.io/contents/posters/');
66
const data = await response.json();
77
let htmlString = '<ul>';
88

99
for (let file of data) {
10-
htmlString += `<li><a href="${file.path}">${file.name}</a></li>`;
10+
htmlString += `<li><a href="https://gofflab.github.io/${file.path}">${file.name}</a></li>`;Retry
1111
}
1212

1313
htmlString += '</ul>';

0 commit comments

Comments
 (0)