diff --git a/packages/backend/src/server/api/endpoints/latest-version.ts b/packages/backend/src/server/api/endpoints/latest-version.ts index 9a600526..a5127f98 100644 --- a/packages/backend/src/server/api/endpoints/latest-version.ts +++ b/packages/backend/src/server/api/endpoints/latest-version.ts @@ -17,7 +17,9 @@ export default define(meta, paramDef, async () => { let tag_name: string; const pattern = /"version": "(.*)",$/m; - await fetch("https://code.naskya.net/naskya/firefish/source-by/main/package.json") + await fetch( + "https://code.naskya.net/naskya/firefish/source-by/main/package.json", + ) .then((response) => response.text()) .then((text) => { tag_name = pattern.exec(text)[1];