We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d4fab commit ccd631fCopy full SHA for ccd631f
1 file changed
posters/index.html
@@ -2,12 +2,12 @@
2
<body>
3
<script>
4
(async () => {
5
- const response = await fetch('https://api.github.com/repos/gofflab/gofflab.github.io/posters/');
+ const response = await fetch('https://api.github.com/repos/gofflab/gofflab.github.io/contents/posters/');
6
const data = await response.json();
7
let htmlString = '<ul>';
8
9
for (let file of data) {
10
- htmlString += `<li><a href="${file.path}">${file.name}</a></li>`;
+ htmlString += `<li><a href="https://gofflab.github.io/${file.path}">${file.name}</a></li>`;Retry
11
}
12
13
htmlString += '</ul>';
0 commit comments