Skip to content

Commit bb4d748

Browse files
authored
Update repos url
Signed-off-by: Tutos Rive <108991712+tutosrive@users.noreply.github.com>
1 parent 9a9f7e7 commit bb4d748

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/assets/js/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ document.addEventListener('DOMContentLoaded', () => {
55
});
66

77
async function loadDescription() {
8-
const req = await fetch('https://api.github.com/users/dev2forge');
9-
// const res = await req.json();
10-
118
// Markdown to HTML conversion
129
const converter = new showdown.Converter({ tables: true });
1310
const readme = await fetch('https://raw.githubusercontent.com/Dev2Forge/.github/refs/heads/main/profile/README.md');
@@ -28,7 +25,7 @@ async function loadRepos() {
2825
const container = document.querySelector('#carrusel-repos');
2926
const configsWeb = await loadConfigs();
3027
try {
31-
const res = await fetch('https://api.github.com/orgs/dev2forge/repos');
28+
const res = await fetch('https://api.github.com/users/Dev2Forge/repos');
3229
const repos = await res.json();
3330
repos.forEach((repo) => {
3431
// Skip repositories that are not in the configsWeb list

0 commit comments

Comments
 (0)