From 2c260c153fa8d4277bd49d611774ce27f2985425 Mon Sep 17 00:00:00 2001 From: OTKUSteyler Date: Tue, 9 Jun 2026 07:07:06 +0200 Subject: [PATCH] Update index.tsx --- src/core/plugins/badges/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/plugins/badges/index.tsx b/src/core/plugins/badges/index.tsx index ae0fda6..ac76220 100644 --- a/src/core/plugins/badges/index.tsx +++ b/src/core/plugins/badges/index.tsx @@ -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; }), ]);