Update index.tsx
This commit is contained in:
parent
d981f80666
commit
2c260c153f
1 changed files with 2 additions and 2 deletions
|
|
@ -98,9 +98,9 @@ export default defineCorePlugin({
|
|||
}
|
||||
|
||||
const [badgesRes, rolesRes] = await Promise.all([
|
||||
fetch("https://codeberg.org/chocomint-chan/GoonCord_Badges/raw/branch/main/badges.json")
|
||||
fetch("https://codeberg.org/api/v1/repos/chocomint-chan/GoonCord_Badges/raw/badges.json?ref=main")")
|
||||
.catch((e) => { console.error("[bunny.badges] badges fetch failed:", e); return null; }),
|
||||
fetch("https://codeberg.org/chocomint-chan/GoonCord_Badges/raw/branch/main/assets/roles/roles.json")
|
||||
fetch("https://codeberg.org/api/v1/repos/chocomint-chan/GoonCord_Badges/raw/assets/roles/roles.json?ref=main")
|
||||
.catch((e) => { console.error("[bunny.badges] roles fetch failed:", e); return null; }),
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue