docs: fix archive version url to include v prefix (#10111)

* docs: fix archive version url to include v prefix

* docs: fix archived versions to add missing v to 1.106.1
This commit is contained in:
Zack Pollard 2024-06-11 11:43:39 +01:00 committed by GitHub
parent b5991c908e
commit 8a866297f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[ [
{ {
"label": "1.106.1", "label": "1.106.1",
"url": "https://1.106.1.archive.immich.app" "url": "https://v1.106.1.archive.immich.app"
}, },
{ {
"label": "v1.105.1", "label": "v1.105.1",

View File

@ -10,7 +10,7 @@ if (!lastVersion) {
const filename = './docs/static/archived-versions.json'; const filename = './docs/static/archived-versions.json';
const oldVersions = JSON.parse(readFileSync(filename)); const oldVersions = JSON.parse(readFileSync(filename));
const newVersions = [ const newVersions = [
{ label: lastVersion, url: `https://${lastVersion}.archive.immich.app` }, { label: lastVersion, url: `https://v${lastVersion}.archive.immich.app` },
...oldVersions, ...oldVersions,
]; ];