chore: codeberg → gitlab

This commit is contained in:
Namekuji 2023-08-13 09:06:00 -04:00
parent bea53e3d7d
commit 7b9f0f3687
No known key found for this signature in database
GPG Key ID: 1D62332C07FBA532

View File

@ -15,9 +15,7 @@ export const paramDef = {
export default define(meta, paramDef, async () => { export default define(meta, paramDef, async () => {
let tag_name; let tag_name;
await fetch( await fetch("https://git.joinfirefish.org/api/v4/projects/7/releases")
"https://codeberg.org/api/v1/repos/firefish/firefish/releases?draft=false&pre-release=false&page=1&limit=1",
)
.then((response) => response.json()) .then((response) => response.json())
.then((data) => { .then((data) => {
tag_name = data[0].tag_name; tag_name = data[0].tag_name;