Skip to content

Commit 8353326

Browse files
committed
improvement: change banner url path
1 parent bb38208 commit 8353326

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/src/assets/imgs`);
3+
const response = await fetch(`https://api.github.com/repos/${usernameGitHub}/${repositoryName}/contents/public/images`);
44
if (!response.ok) {
55
throw new Error(`Unsuccessful request: ${response.statusText}`);
66
}

0 commit comments

Comments
 (0)