From 7b9f0f36872e7fa8999fc4aaeee7ae7a6c67aad8 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Sun, 13 Aug 2023 09:06:00 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20codeberg=20=E2=86=92=20gitlab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/server/api/endpoints/latest-version.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/latest-version.ts b/packages/backend/src/server/api/endpoints/latest-version.ts index 1cf259c881..4d07406d1e 100644 --- a/packages/backend/src/server/api/endpoints/latest-version.ts +++ b/packages/backend/src/server/api/endpoints/latest-version.ts @@ -15,9 +15,7 @@ export const paramDef = { export default define(meta, paramDef, async () => { let tag_name; - await fetch( - "https://codeberg.org/api/v1/repos/firefish/firefish/releases?draft=false&pre-release=false&page=1&limit=1", - ) + await fetch("https://git.joinfirefish.org/api/v4/projects/7/releases") .then((response) => response.json()) .then((data) => { tag_name = data[0].tag_name;