From a0dd4cc979998e242e8bc281893a8069793efc27 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Thu, 30 Jul 2026 14:26:26 +0200 Subject: [PATCH] updated github references to gitea ones --- .docs/web/js/components/latest-version-download.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.docs/web/js/components/latest-version-download.js b/.docs/web/js/components/latest-version-download.js index d0a2e9c..6c3cc8b 100644 --- a/.docs/web/js/components/latest-version-download.js +++ b/.docs/web/js/components/latest-version-download.js @@ -38,7 +38,7 @@ class DownloadScript extends HTMLElement { } try { - const response = await fetch('https://api.github.com/repos/dutchie031/Spearhead/releases/latest'); + const response = await fetch('https://git.dutchie031.com/api/v1/repos/Spearhead/spearhead/releases/latest'); const data = await response.json(); // Cache the data @@ -66,7 +66,7 @@ class DownloadScript extends HTMLElement { var version = "?"; var timestamp = "?"; var size = "?"; - var href = "https://github.com/dutchie031/Spearhead/releases" + var href = "https://git.dutchie031.com/Spearhead/spearhead/releases" const latestRelease = await this.fetchLatestRelease(); if (latestRelease) { @@ -105,7 +105,7 @@ class DownloadScript extends HTMLElement {

${version} (${timestamp})
Download (${size})
- See All Versions here + See All Versions here