use the correct tag URL in the version string

This commit is contained in:
raf 2023-12-01 21:42:52 +03:00
parent 64d35045b4
commit 658048a173
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -83,7 +83,7 @@
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
const footer = document.getElementById("footer"); const footer = document.getElementById("footer");
const version = footer.textContent.split(" ").pop(); const version = footer.textContent.split(" ").pop();
const githubURL = `https://github.com/NotAShelf/Echo/tags/${version}`; const githubURL = `https://github.com/NotAShelf/Echo/releases/tag/${version}`;
const link = document.createElement("a"); const link = document.createElement("a");
link.href = githubURL; link.href = githubURL;