Skip to content

Commit c95cf72

Browse files
committed
feat: new banner path to public folder
1 parent 8353326 commit c95cf72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hook/api/fetchGitHubBanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export async function fetchGitHubBanner(usernameGitHub: string, repositoryName: string) {
22
try {
3-
const response = await fetch(`https://api.github.com/repos/${usernameGitHub}/${repositoryName}/contents/public/images`);
3+
const response = await fetch(`https://api.github.com/repos/${usernameGitHub}/${repositoryName}/contents/public`);
44
if (!response.ok) {
55
throw new Error(`Unsuccessful request: ${response.statusText}`);
66
}

0 commit comments

Comments
 (0)